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

LogTransactionOperationsForShardingHandler::commit misses transferring documents from prepared and non-prepared transactions changing a document's shard key value

    • Fully Compatible
    • ALL
    • v6.1, v6.0, v5.0, v4.4, v4.2
    • Sharding 2022-08-08, Sharding 2022-08-22, Sharding 2022-09-05, Sharding 2022-09-19, Sharding NYC 2022-11-14
    • 113
    • 5

      Original summary

      Investigate getPreImageDocumentKey calls in LogTransactionOperationsForShardingHandler::commit

      Original description

      It is called a few times around here:
      https://github.com/mongodb/mongo/blob/119e6b5979e4b1e8fcf91db711673393c56b4020/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp#L240

      But there appears to be no code setting the value.

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: