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

Align client reset error codes

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • Q3-22FY
    • Affects Version/s: None
    • Component/s: ObjectStore

      In sync_session.cpp we have 11 error codes that will mark the file for deletion:

      https://github.com/realm/realm-object-store/blob/6b44209e6fcac0137e193c96444f93c50d184d06/src/sync/sync_session.cpp#L463-L473

      But in sync_config.hpp we only have 6 error codes that return true for is_client_reset_requested:

      https://github.com/realm/realm-object-store/blob/6b44209e6fcac0137e193c96444f93c50d184d06/src/sync/sync_config.hpp#L105-L110

      We should make sure these are equivalent.

            Assignee:
            james.stone@mongodb.com James Stone
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: