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

Plumb operation time to `getMinimumVisibleSnapshot` when available

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2018-05-07
    • 11

    Description

      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`.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: