-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
None
-
7
Currently dropping a database while a background index build is in progress fails
> db.dropDatabase() { "ok" : 0, "errmsg" : "cannot perform operation: a background operation is currently running for database test", "code" : 12586, "codeName" : "BackgroundOperationInProgressForDatabase" }
This also results in initial sync's "dropAllDatabasesExceptLocal" failing. Since we won't be needing the index, we should just cancel the build.
- duplicates
-
SERVER-46122 Make the drop command abort in-progress index builds
- Closed
-
SERVER-46123 Make the dropDatabase command abort in-progress index builds
- Closed
-
SERVER-37726 Make dropIndexes abort in-progress index builds
- Closed
- is related to
-
PYTHON-2068 Test Failure - test_session.TestSession.test_unacknowledged_writes
- Closed
-
SERVER-31239 Disable resync command and remove tests
- Closed
-
SERVER-32033 Allow dropIndex to succeed when index build is in progress
- Closed