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

Yielding can break linearizable reads

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Wenbin Zhu
            Reporter:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: