Issue 35065 - Change in the way the documents are saved to disk
Summary: Change in the way the documents are saved to disk
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2004-10-06 18:22 UTC by cacona666
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description cacona666 2004-10-06 18:22:35 UTC
(Sorry for any mistakes. It is the first time I submit an issue)
When using some distributed filesystems such as AFS, the changes to the files 
in the local cache are transferred to the server each time the file is closed 
(which may be very slow specially when having low bandwidth, and so, very 
annoying).Other filesystems may have the same problem.
A solution to this may be to keep the file "opened" in the filesystem until it 
is really closed in the application. 
In OpenOffice 1.1.x "the closing of the file happens during the saving process 
because of storing process design" (told by Mikhail Voitenko), so the file is 
being closed each time a "save" command is performed. Apparently this may be 
improved in version 2.0.
Comment 1 mikhail.voytenko 2004-10-11 12:18:36 UTC
I have just forgot to mention the important thing, when the document file is
closed on storing it is still unchanged. So if the mentioned AFS does the
caching correctly it should not try to transport the file at this point.
Although the mentioned file closing could be fixed if it is really required.

On the other hand in OOo1.1.x after the contents are transported to the document
file, it is closed. This closing should activate the final transfer in any
caching file system. In OOo2.0 this closing is replaced with explicit
synchronization call that should activate the transfer as well. This is
something that will not be fixed because the storing process is not successfully
finished until the contents are transfered to the document file.

Thus the problem with closing of unchanged file should be harmless. And the
transfer at the very end of the saving is not a problem at all. This is how it
must be implemented because as I have already mentioned the file storing can be
treated as successfully finished only after the document file is stored to it's

Juan, do you have a possibility to check how meny transfers happen during the
storing process to be sure that the closing of the unchanged file does not lead
to the transfer in AFS you use?
Comment 2 mikhail.voytenko 2005-01-10 07:57:39 UTC
Comment 3 Marcus 2017-05-20 11:29:28 UTC
Reset assigne to the default "".