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

Mock replication coordinator may not update committed snapshot correctly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2025-02-17

      When using a mock replication coordinator, namely in unit tests, we always update the committed snapshot to this timestamp if it is higher. However, this is not necessarily correct as there may be an outstanding writes to the oplog before this one which have not yet committed. Thus, the committed snapshot may erroneously contain oplog holes until those outstanding writes commit.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: