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

Handle direct CRUD ops to shards as part of a txn introducing orphan documents

    • Fully Compatible
    • Sharding EMEA 2022-04-18, Sharding EMEA 2022-05-02, Sharding EMEA 2022-05-16, Sharding EMEA 2022-05-30

      The code introduced in SERVER-62581 was taking care of direct inserts to shards but we forgot to cover the case in which those inserts are part of a transaction. It looks like under that scenario we take a different insert path

      antonio.fuschetto@mongodb.com  discovered that the problem is not just for TXN doing inserts but for TXN doing any op BUT always directly against the shard, without going through the mongos).

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: