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

Investigate causal consistency violation when getting errors from config server

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding 2018-04-09

      Here's a breakdown of what occurred in the build failure where this appears to manifest:

      1. Shard sends _configsvrCommitChunkSplit to config server.
      2. Config server finish executing the command.
      3. Config server steps down from primary and closes all incoming connections.
      4. Shard gets back a network error and retries.
      5. Shard sends the commit command and get a preCondition failure because it has already been successfully applied earlier.
      6. Shard tries to inspect the state by refreshing the chunk state (by querying) but gets back the state before the commit.

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: