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

Handle 'parent_remotely_deleted' state in the local watcher

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 5.1.1
    • Component/s: Local watcher

      Description

      Error

      Sentry Issue: NUXEO-DRIVE-4XA

      IntegrityError: UNIQUE constraint failed: States.remote_ref, States.local_path
        File "nxdrive/engine/processor.py", line 339, in _execute
        File "nxdrive/engine/processor.py", line 240, in _handle_doc_pair_sync
        File "nxdrive/engine/processor.py", line 966, in _synchronize_locally_created
        File "nxdrive/engine/dao/sqlite.py", line 2199, in update_remote_state
        File "nxdrive/engine/dao/sqlite.py", line 154, in execute
      

      Analysis

      At the logs beginning, some doc pairs seems to be unprocessable and are ignored. They may be the one that causes the conflict later.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m