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

Add a uassert that bulkWrite commands run on mongos are ordered

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Repl 2023-05-29
    • 149

    Description

      We don't currently support unordered bulkWrite on mongos, but it is possible for the fuzzer to generate unordered bulkWrite invocations to run there that cause the server to crash, e.g. if the invocation generates a StaleConfig error and leads to the case we plan to handle in SERVER-76953 where we do not have a reply for every write.

      We can add a uassert that checks only ordered bulkWrites are run on mongos for now to prevent further fuzzer failures until this behavior is properly supported.

      Attachments

        Activity

          People

            kaitlin.mahar@mongodb.com Kaitlin Mahar
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: