Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-857

UNIQUE constraint prevent the remote scan to finish and sync to happen

    XMLWordPrintable

    Details

      Description

      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
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcattiau Rémi Cattiau
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: