nextcloud-desktop/csync
Olivier Goffart 6d24bd0361 journaldb: Fix that fileid might be missing in the db
When recovering from a inalid move operation, we call
avoidReadFromDbOnNextSync. This will remove the fileid from the db so
we don't detect a move on the next sync.  But we want the next sync to fetch
the file id again, and this can only happen if we don't read them
from the db and do the actual PROPFIND, this is done by avoidReadFromDbOnNextSync

However, if there is propagation in that source directory later, it
will overide the invalid etag with the real one and we will not uissue the PROPFIND
to fetch the fileid.
We must therefore also protect the future write to the DB when calling
avoidReadFromDbOnNextSync
2014-08-07 12:14:45 +02:00
..
src SyncEngine: Keep csync_journal with proper values for fileId and remotePerm 2014-08-07 10:14:14 +02:00
tests journaldb: Fix that fileid might be missing in the db 2014-08-07 12:14:45 +02:00
AUTHORS Move csync in order to merge it with mirall 2014-01-13 14:39:50 +01:00
ChangeLog Make it compile with the merge of csync mirall 2014-01-15 12:20:03 +01:00
CMakeLists.txt CSync: Fix test compile 2014-06-05 14:22:10 +02:00
config_csync.h.cmake Add missing cmakedefine for HAVE_ASPRINTF and minor cleanup. 2014-06-13 13:30:59 +02:00
config_test.h.cmake fix csync BINARYDIR and SOURCEDIR 2014-01-20 16:16:29 +01:00
ConfigureChecks.cmake For Windows, add the __USE_MINGW_ANSI_STDIO=1 switch 2014-03-05 15:39:49 +01:00
COPYING Move csync in order to merge it with mirall 2014-01-13 14:39:50 +01:00
CTestConfig.cmake Move csync in order to merge it with mirall 2014-01-13 14:39:50 +01:00
CTestCustom.cmake Move csync in order to merge it with mirall 2014-01-13 14:39:50 +01:00
DefineOptions.cmake Move csync in order to merge it with mirall 2014-01-13 14:39:50 +01:00
INSTALL Move csync in order to merge it with mirall 2014-01-13 14:39:50 +01:00
README Move csync in order to merge it with mirall 2014-01-13 14:39:50 +01:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

WHAT IS CSYNC?
==============

csync is a lightweight utility to synchronize files between two directories on
a system or between multiple systems.

It synchronizes bidirectionally and allows the user to keep two copies of files
and directories in sync. csync uses widely adopted protocols, such as smb or
sftp, so that there is no need for a server component. It is a user-level
program which means you dont need to be a superuser or administrator.

CONTRIBUTIONS
=============

If you want to contribute to the development of the software then please join
the mailing list. Patches are accepted preferebly created with git and we are
always glad to receive feedback or suggestions to the address
csync-devel@csync.org.
More information on the various mailing lists can be found at
http://www.csync.org/communication/.

You can also get the sourcecode straight from the git repository - see
http://git.csync.org/

DOCUMENTATION
=============

As a user you can find a userguide which is shipped with this package or is
available at the website. For developers there is doxygen documentation and
comments in the source code itself. See

http://www.csync.org/userguide/
and
http://www.csync.org/api/