-
Type: Bug
-
Status: Open
-
Priority: Critical
-
Resolution: Unresolved
-
Affects Version/s: 2.1.427
-
Fix Version/s: Not yet scheduled version
-
Component/s: Remote watcher
-
Epic Link:
-
Story Points:2
During a synchronization if a UNIQUE constraint is raised while update remote pair, then the scan is interrupted and prevent the rest of synchronization to happen.
2017-05-09 09:10:17,496 18242 4637331456 ERROR nxdrive.engine.watcher.remote_watcher UNIQUE constraint failed: States.remote_ref, States.remote_parent_ref Traceback (most recent call last): File "nxdrive/engine/watcher/remote_watcher.pyc", line 471, in _handle_changes File "nxdrive/engine/watcher/remote_watcher.pyc", line 417, in _partial_full_scan File "nxdrive/engine/watcher/remote_watcher.pyc", line 146, in _scan_pair File "nxdrive/engine/watcher/remote_watcher.pyc", line 186, in _do_scan_remote File "nxdrive/engine/watcher/remote_watcher.pyc", line 250, in _scan_remote_scroll File "nxdrive/engine/watcher/remote_watcher.pyc", line 370, in _find_remote_child_match_or_create File "nxdrive/engine/dao/sqlite.pyc", line 1264, in update_remote_state File "nxdrive/engine/dao/sqlite.pyc", line 55, in execute IntegrityError: UNIQUE constraint failed: States.remote_ref, States.remote_parent_ref