Causal Consistency with secondary reads is broken by chunk migration commit

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.0-rc4
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-10-23, Sharding 2017-11-13
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Detailed description to follow.

      Because donor shard secondaries do not block access to the donated chunk during the period of time when the primary is waiting for the config server to acknowledge the chunk migration commit message, they may serve reads of stale data after the recipient shard has accepted the donated chunk and taken writes to it. In the jargon of the sharding team, because donor shard secondaries do not observe the "chunk migration commit critical section", they may serve reads of documents owned by the recipient shard during the time between the primary sending the chunk commit message to the config server and the primary subsequently refreshing its routing table.

            Assignee:
            Dianna Hohensee (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: