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

Support secondary reads in ephemeralForTest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Do
    • None
    • None
    • None
    • Storage Execution
    • Execution Team 2021-02-08

    Description

      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?)

      Attachments

        Issue Links

          Activity

            People

              backlog-server-execution Backlog - Storage Execution Team
              louis.williams@mongodb.com Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: