-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This command is responsible for dropping the local skip global index cloning collection and also cleaning up the global index primary only service. It has the format:
{
cleanupGlobalIndex: <collName>
collectionUuid: <collUUID>,
indexName: <name given during createIndex>
}
If the cloner is not yet in the readyToCommit phase, this command will force it to abort and perform the cleanup logic (This should already be handled by GlobalIndexCloningService::CloningStateMachine::cleanup). Then it waits for the cleanup to finish by waiting for the future from GlobalIndexCloningService::CloningStateMachine::getCompletionFuture. This command should also assert that it is run with w: majority.