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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL

      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:
            Unassigned Unassigned
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: