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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0-rc2
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            renctan Randolph Tan
            Reporter:
            renctan Randolph Tan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: