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

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

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

      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@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: