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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.6.0-rc1
    • Sharding, Write Ops
    • Fully Compatible
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: