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

Support secondary reads in ephemeralForTest

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Execution Team 2021-02-08

      ephemeralForTest needs to implement the kLastApplied ReadSource to support secondary reads.

      This will most likely require creating a SnapshotManager that records updates to lastApplied from the replication code, similar to the approach in WiredTigerRecoveryUnit.

      Additionally, create a StorageEngine helper to replace this use of supportsReadConcernSnapshot in AGCFR. Something like "supportsSecondaryReads" or "supportsReadSourceLastApplied".

      Another option would be to rewrite this SnapshotManager code to be above the storage engine so that any storage engine that supports timestamp reads can automatically support lastApplied reads (any maybe majority?)

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: