-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently, SyncClusterConnection invokes help on the config servers for each command, which it receives in order to determine whether it is a write (has to be sent to 3 servers) or read command. This happens in SyncClusterConnection::_lockType.
Instead of doing this, we should just have a fixed map in SyncClusterConnection, which specifies what is the type of a command.