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

Shard Role acquisitions update read source on secondaries even if they are "writing"

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2024-09-30, CAR Team 2024-10-14, CAR Team 2024-10-28

      In SERVER-94825 we discovered in an attempt to use acquisitions that secondaries may mistakenly overwrite the fastcount.

      The interleaving for this to happen is as follows:

      The key point here is that the acquisitions that modify the collection in some form specify the operation type as kWrite. If an operation specifies such type we should never update the read source since writes should always happen at the latest snapshot available.

            Assignee:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: