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

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: