-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 5.1.0-rc0
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2021-11-29
OLD TITLE: Determine if more test coverage is needed – test jstests/replsets/rollback_waits_for_bgindex_completion.js
We were looking at the effectiveness of jstests/replsets/rollback_waits_for_bgindex_completion.js (SERVER-60428) and we concluded that this test is appropriate only for single-phase index build. The purpose of this ticket is to determine whether more test coverage is needed for two-phase index build and also whether this test should override the default and run with single-phase index build parameter.
More background: This test ensures that when a leader (which is doing an index build) steps down and needs to perform a rollback for an aborted txn, the rollback will wait for the index build to finish. In the case of two-phase index build, rollback code aborts the index build so this test is not applicable. For more info please look at SERVER-60428.
- duplicates
-
SERVER-60428 Investigate effectiveness of test jstests/replsets/rollback_waits_for_bgindex_completion.js
- Closed
- is related to
-
SERVER-60428 Investigate effectiveness of test jstests/replsets/rollback_waits_for_bgindex_completion.js
- Closed
-
SERVER-30818 Wait for any running background index builds to finish before starting rollback
- Closed
-
SERVER-44350 write rollback tests for two phase index builds
- Closed