-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
Fully Compatible
-
Storage Execution 2026-09-28, Storage Execution 2026-10-12, Storage Execution 2026-10-26
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This ticket turns on multikey path tracking on POA workers and records each applied op's multikey info into the batch's shared accumulator, so a batch whose remaining-workers counter reads zero has all its multikey writes fully recorded.
This ticket should include:
- Turn on MultikeyPathTracker tracking on POA worker opCtx. Stop and clear on opCtx exit.
- Once a worker completes a batch, it records the applied ops' multikey path info into the batch's BatchMultikey accumulator before decrementing the batch's remaining-workers counter.
- Standalone setMultikeyMetadata oplog entries (which replicate in-transaction multikey transitions as source of truth) are not accumulated. They are applied as regular ops. The accumulator only handles transitions from standalone op application (non-transaction).
Tests: a multikey-triggering op records into the accumulator and the advancer flushes at earliestTimestamp; a standalone setMultikeyMetadata entry is not double-counted; tracking is cleared between items.