Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77631

Break up changeReadSourceIfNeeded into shouldReadAtLastApplied and changeReadSource

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

      SnapshotHelper::changeReadSourceIfNeeded checks whether we should read at lastApplied based on some global context and the NSS we are acquiring, then performs that change if needed.

      In the new API we can acquire multiple collections at once, we should first check whether we should read at last applied based on the global context, then make sure all NSSs we are acquiring are compatible with last applied, and lastly make the change.

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: