Cause
A 'switchmode' command is issued when there is no readwrite leader present in the shardspace.
Action
Ensure that a readwrite leader exists for the replication unit or use the -force flag on the 'switchmode' command.
Error Message
No readwrite leader found for the replication unit.
A 'switchmode' command is issued when there is no readwrite leader present in the shardspace.
Ensure that a readwrite leader exists for the replication unit or use the -force flag on the 'switchmode' command.