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

Unexpected full scans when synchronizing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.5.4
    • Fix Version/s: 4.3.0
    • Component/s: Synchronizer

      Description

      1. install Nuxeo 7.10
      2. install Drive 2.5.4
      3. create 2000 folders and more than 20000 files (use scripts attached if necessary)
      4. in the logs, one can see there are several full scans. In the 2.4.8 a customer reported many scans. In the attached logs, one can see 3 full scans after the synchronization begins (uploading the files to the server):
        2017-09-20 11:51:29 25328 123145320988672 DEBUG    nxdrive.engine.watcher.local_watcher Full scan started
        2017-09-20 11:51:30 25328 123145320988672 DEBUG    nxdrive.engine.watcher.local_watcher Full scan finished in 847ms
        2017-09-20 11:51:30 25328 123145320988672 DEBUG    nxdrive.engine.watcher.local_watcher Full scan started
        2017-09-20 11:51:42 25328 123145320988672 DEBUG    nxdrive.engine.watcher.local_watcher Full scan finished in 11363ms
        2017-09-20 11:51:42 25328 123145320988672 DEBUG    nxdrive.engine.watcher.local_watcher Full scan started
        2017-09-20 11:52:56 25328 123145320988672 DEBUG    nxdrive.engine.watcher.local_watcher Full scan finished in 73978ms
        

      Depending on the server load and the different operations made, the full scans can be very costly.

        Attachments

          Activity

          Hide
          mschoentgen Mickaël Schoentgen added a comment -

          Cannot reproduce with Drive 4.2.0. I added a check in a test to ensure no future regressions.

          Show
          mschoentgen Mickaël Schoentgen added a comment - Cannot reproduce with Drive 4.2.0. I added a check in a test to ensure no future regressions.
          Hide
          hudson Jenkins added a comment -

          Integrated in Drive » Drive functional tests » master #2633
          NXDRIVE-987: Unexpected full scans when synchronizing (bobotig: f5c8e889ee4f602aebabaef56891318e4af3b1d7)

          Show
          hudson Jenkins added a comment - Integrated in Drive » Drive functional tests » master #2633 NXDRIVE-987 : Unexpected full scans when synchronizing (bobotig: f5c8e889ee4f602aebabaef56891318e4af3b1d7 )

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 10 minutes
                10m