Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
Description
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.