Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-1437

Implement Client Reset w/ Recovery

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Q1-23FY
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      • [x] Add recover and recoverOrDiscard as client reset modes (sync configuration)
      • [x] Update API doc
      • [x] Update TS defs
      • [x] Expand client reset handler to support recover modes
      • [x] Update change log
      • Test with partition based sync
        • [x] Recovery mode: callbacks are called
        • [x] Recovery mode: remote and local changes are merged
        • [x] Breaking schema change
        • [x] Fall back to discard local when recovery fail
      • Test with flexible sync
        • [x] Recovery mode: callbacks are called
        • [x] Recovery mode: remote and local changes are merged
        • [x] Breaking schema change
        • [x] Fall back to discard local when recovery fail

      Tests should be added to integration-tests.

            Assignee:
            kenneth.geisshirt@mongodb.com Kenneth Geisshirt
            Reporter:
            stoney.burks@mongodb.com Stoney Burks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: