In fle2_compact_coordinator.js, the test runStepdownDuringCompactPhaseBeforeESCCleanup asserts that the ESC count may only be 11 after the compaction test completes. However, in reality, this count can either be 11 or 1 depending on when the reissued shardsvrCompactStructuredEncryptionData command arrives at the new primary after step-up. If it arrives while the resumed coordinator is executing, then the reissued command will simply join the active coordinator, and there shall be no documents removed from the ESC (count remains 11). But, if it arrives after the resumed coordinator has finished, then it will start a new coordinator that will end up deleting the 10 stale ESC non-anchor documents (and therefore the count ends up being just 1).
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: