Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Won't Fix
-
None
-
None
-
None
-
7
Description
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.
Attachments
Issue Links
- 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
-