BatchSafeWriter::safeWriteBatch must call response->setOk in failure cases

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.0-rc1
    • Affects Version/s: None
    • Component/s: Sharding, Write Ops
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the faked response fails to validate so the user gets a cryptic error about "missing ok field" rather than the correct error from the shard.

      This is only an issue during upgrade.

              Assignee:
              Mathias Stearn
              Reporter:
              Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: