mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
3147f5e1c3
When a write inside a multi-document transaction needs to set an index as multikey, we update the multikey flag in the on-disk catalog in a transaction separate from the parent transaction. We commit this side transaction immediately, so as to avoid the catalog write generating prepare conflicts if it was written as part of a parent transaction that later became prepared. In general, it is safe to set an index as multikey too early. The multikey write is timestamped at the most recent value of the LogicalClock. |
||
---|---|---|
.. | ||
aggregation | ||
auth | ||
change_streams | ||
client_encrypt | ||
concurrency | ||
core | ||
core_standalone | ||
decimal | ||
disk | ||
fail_point | ||
free_mon | ||
gle | ||
hooks | ||
httpinterface | ||
libs | ||
multiVersion | ||
noPassthrough | ||
noPassthroughWithMongod | ||
parallel | ||
perf | ||
readonly | ||
replsets | ||
serial_run | ||
sharding | ||
slow1 | ||
ssl | ||
sslSpecial | ||
tool | ||
watchdog |