Commit 42fd89bc authored by Julien Muchembled's avatar Julien Muchembled

client: fix load error during conflict resolution in case of late invalidation

parent b22a94df
...@@ -544,6 +544,8 @@ class Application(ThreadedApplication): ...@@ -544,6 +544,8 @@ class Application(ThreadedApplication):
# A later serial has already been resolved, skip. # A later serial has already been resolved, skip.
resolved_serial_set.update(conflict_serial_set) resolved_serial_set.update(conflict_serial_set)
continue continue
if self.last_tid < conflict_serial:
self.sync() # possible late invalidation (very rare)
try: try:
new_data = tryToResolveConflict(oid, conflict_serial, new_data = tryToResolveConflict(oid, conflict_serial,
serial, data) serial, data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment