-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication, Storage
-
Fully Compatible
-
Repl 2017-10-02, Repl 2018-01-15, Repl 2018-01-29
-
14
Writes for an initial index build aren't timestamped, so when we call recoverToStableTimestamp, the index data for any in-progress index builds won't be reverted so may contain references to records that no longer exist. Therefore we should wait for any running background index builds to complete before starting rollback, so that we won't try to call recoverToStableTimestamp in the middle of this index build.
SERVER-30911 will timestamp the catalog changes that represent the intent to build an index. After calling recoverToStableTimestamp, storage will build all ready: false indexes before returning.
- is related to
-
SERVER-32844 Turn on recoverable rollback Javascript tests
- Closed
- related to
-
SERVER-45174 rollback should not abort single phased index builds
- Closed
-
SERVER-60819 remove jstests/replsets/rollback_waits_for_bgindex_completion.js
- Closed