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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 Gomez Ferro
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: