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

Unordered batch writes to a shard with version mismatch can trigger dassert at mongos

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • 0

      This happens because the shard will continue to process the remainder of the batch even if it encountered a version mismatch. This in turn will generate a response with multiple stale errors. And when the mongos processes the response it will trigger a dassert that checks that only 1 shard can have a stale error.

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

              Created:
              Updated:
              Resolved: