Yielding can break linearizable reads

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • ALL
    • Hide

      python build/install/bin/resmoke.py run --suites=no_passthrough --continueOnFailure --storageEngineCacheSizeGB=1 repro.js

      Show
      python build/install/bin/resmoke.py run --suites=no_passthrough --continueOnFailure --storageEngineCacheSizeGB=1 repro.js
    • Repl 2024-08-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A query with rc:linearizable targetting a single document should return the latest version of this document that had gotten an acknowledgement according to the wall-clock of the client, however yielding can break this guarantee, e.g. if the query scans an index and a concurrent write updates the position of the document in the index.

      rc:linerizable queries should work on a consistent snapshot of the data to prevent this anomaly.

              Assignee:
              Wenbin Zhu
              Reporter:
              Daniel Gomez Ferro
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: