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

Plumb operation time to `getMinimumVisibleSnapshot` when available

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2018-05-07
    • 11

      Right now, the minimum visible snapshot will query the logical clock to publish as the "time before which readers may not query this collection". However, while the logical clock won't return a value that's too low (and cause catalog mismatch failures), it can return a value that's too high and may never exist in the oplog (particularly when the noop writer is disabled).

      At least for primaries, this problem could be solved by plumbing through the actual operation time. Whether directly or via the `ReplClientInfo`.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: