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

BatchWriteOp::noteBatchError doesn't update it's state to error if there are child ops still in pending

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding 2019-04-22, Sharding 2019-05-06
    • 21

      This is because of the condition here. For normal writes, the executor would try to move them into a state where all child ops would have a state that's not pending, but because we stop early for transactions, it is possible to end up in this situation.

            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: