Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-1468

Report long running download transformation/application to server

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      If the sync client ends up in a situation where there are a lot of local changes to upload and a lot of changes to download, it can end up taking minutes-to-hours to apply downloaded changes because OT has to transform every received instruction against every local instruction. This is a worst-case-scenario for sync, and we currently do not have a way of pro-actively reporting it back to the server/customer.

      We should use timing within the integrate_server_changesets function to check if integrating a download message takes an excessive (configurable/conservative) amount of time and report that to the server. The server can then insert an error into the app log and/or trigger a client reset with recovery.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: