[Pkg-owncloud-commits] [owncloud-client] 50/211: Sync engine: Restart sync when we get a precondition failed error

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 282abdd804050c590fac9c6cebfc0dcfa63dfcae
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Sat Oct 11 15:39:35 2014 +0200

    Sync engine:  Restart sync when we get a precondition failed error
---
 src/mirall/propagator_qnam.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mirall/propagator_qnam.cpp b/src/mirall/propagator_qnam.cpp
index 4dc8fac..8195454 100644
--- a/src/mirall/propagator_qnam.cpp
+++ b/src/mirall/propagator_qnam.cpp
@@ -310,6 +310,7 @@ void PropagateUploadFileQNAM::slotPutFinished()
             // Precondition Failed:   Maybe the bad etag is in the database, we need to clear the
             // parent folder etag so we won't read from DB next sync.
             _propagator->_journal->avoidReadFromDbOnNextSync(_item._file);
+            _propagator->_anotherSyncNeeded = true;
         }
 
         done(classifyError(err, _item._httpErrorCode), errorString);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list