-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
v6.0, v5.0
-
Execution Team 2022-06-13
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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));
}