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

Remove write concern from the batched request

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Catalog and Routing
    • CAR Team 2024-02-05, CAR Team 2024-02-19
    • 2

    Description

      BatchedCommandRequest is the legacy (pre-IDL) way that write commands were parsed by MongoS and constructed to be sent to MongoD. At that time there wasn't write concern on the OpContext (there wasn't generic parsing of WC on the MongoS to be more specific) so each request had to parse and store it.

      Now Mongos should have the client supplied write concern in the _opCtx at the setup step which parse the request and set the correct wc.

      Attachments

        Activity

          People

            paolo.polato@mongodb.com Paolo Polato
            m.maher@mongodb.com Moustafa Maher
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: