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

Smart remote changes handling

    XMLWordPrintable

    Details

    • Sprint:
      nxMS 9.10.1, nxDrive 11.1.10
    • Story Points:
      3

      Description

      While syncing a large tree that takes time, we still check for remote changes on a regular basis. It may introduces slowdowns:

      • The request on the server, which is already working hard, may be slow and memory/time consuming. For a synchronization taking 3 hours, we have 360 calls to RemoteWatcher._handle_changes(), that means 360 calls to the server for a given client that is already syncing and where new changes will not be taken into account until the original sync is done.
      • When the sync seems blocked or run for hours, it is even worse.
      • We saw timeouts with that request in case of server overload, and so Drive will end on an not useful error, so for the sake of all, just skip it.

      We could add a syncing flag or check queues size to prevent or enable that call.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 20 minutes
                  1d 4h 20m