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

Update m_flx_active_version when an QUERY_ERROR occurs

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sync
    • None

      The handle role change project updated the operation of subscriptions such that if a server-initiated bootstrap was started while a subscription was being bootstrapped, the subscription will be reset to the Pending state and the m_flx_last_seen_version will be reset to the m_flx_active_version value.

      There was a comment posted on PR #7675, which contained this change, regarding updating the m_flx_last_seen_version when a sync session starts or when a subscription QUERY_ERROR occurs and possibly updating the validation in the SessionWrapper::on_flx_sync_progress() function regarding this value.

      Since this change could have potential side effects with progress notifications which relies on the m_flx_active_version value, it was pulled out into a separate task to isolate and investigate these changes.

            Assignee:
            Unassigned Unassigned
            Reporter:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: