-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
None
-
Fully Compatible
-
ALL
-
v4.4
-
Execution Team 2020-06-15, Execution Team 2020-06-29, Execution Team 2020-07-13, Execution Team 2020-07-27
-
10
When an index build fails (for example, because the index is a "2dsphere" index and the collection contains invalid geometry), it can return the failure before the startIndexBuilds oplog entry is majority committed.
A stepdown at just the right moment can make it appear that the index is still being built (according to the listIndexes command), even though the client has already observed the failure code.
Waiting for majority commit in the failure case should stop this from happening.
- causes
-
SERVER-61601 Determine if global lock upgrade is necessary when implicitly creating collection during createIndexes
- Closed
- is related to
-
SERVER-48878 Remove admin X-lock promotion
- Closed