
When readwritesplit is routing any queued queries, the currently executed command of the protocol modules needs to be adjusted by readwritesplit. This is not a true fix but more of a workaround to fix the problems of queued query execution. The correct solution would be to move the queued query handling into the client protocol module so that all components see the same state.