Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13617

Drive: handle unknown state: local_state=u'unknown', remote_state=u'unknown'

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      900

      Description

      Sometimes, don't know how it happens, but Drive fails to sync a pair state due to:

      ERROR    nxdrive.synchronizer Failed to sync LastKnownState<local_folder=u'Nuxeo Drive', local_path=u'/file/path/MyFile.pdf', remote_name=u'MyFile.pdf', local_state=u'unknown', remote_state=u'unknown', pair_state=u'unknown'>, blacklisting doc pair for 300 seconds
      Traceback (most recent call last):
        File "nxdrive/synchronizer.pyc", line 1122, in synchronize
        File "nxdrive/synchronizer.pyc", line 654, in synchronize_one
      RuntimeError: ('Unhandled pair_state: %r for %r', u'unknown', LastKnownState<local_folder=u'Nuxeo Drive', local_path=u'/file/path/MyFile.pdf', remote_name=u'MyFile.pdf', local_state=u'unknown', remote_state=u'unknown', pair_state=u'unknown'>)
      

      which results in Drive blacklisting this file and failing to sync it every 5 minutes => pending operation never gets back to 0 and Drive is blinking blue every 5 minutes...

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified