Apache OpenOffice (AOO) Bugzilla – Issue 35065
Change in the way the documents are saved to disk
Last modified: 2017-05-20 11:29:28 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.
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 location. 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?
.
Reset assigne to the default "issues@openoffice.apache.org".