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

Cluster upserts performed through the ShardServerProcessInterface should use the operation context to configure their write concern

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 7.0.9, 7.3.2
    • Affects Version/s: 7.0.5, 8.0.0-rc0, 7.3.0-rc1
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v7.3, v7.2, v7.0
    • CAR Team 2024-02-05

      The ShardsServerProcessInterface flavour of the MPI API implements the insert and update methods by using BatchedCommandRequests that get dispatched through cluster::write(). The semantics of such a method have been recently modified by SERVER-80363, so that the the opCtx (instead of the related BatchedCommandRequest setter) needs to be used now to configure the write concern of the remote command being dispatched.

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: