Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
Fully Compatible
-
v6.0, v5.0
-
Execution Team 2022-06-13
-
0
Description
It would be helpful to include the conflicting index build UUID in thee error messages from the IndexBuildsCoordinator:
void IndexBuildsCoordinator::assertNoIndexBuildInProgForCollection(
|
const UUID& collectionUUID) const {
|
uassert(ErrorCodes::BackgroundOperationInProgressForNamespace,
|
str::stream() << "cannot perform operation: an index build is currently running for "
|
"collection with UUID: "
|
<< collectionUUID,
|
!inProgForCollection(collectionUUID));
|
}
|
|
void IndexBuildsCoordinator::assertNoBgOpInProgForDb(StringData db) const {
|
uassert(ErrorCodes::BackgroundOperationInProgressForDatabase,
|
str::stream() << "cannot perform operation: an index build is currently running for "
|
"database "
|
<< db,
|
!inProgForDb(db));
|
}
|