The file contains some methods, such as getAllShardedCollectionsForDb, that are used by a command that is moving to the config server.
The file also contains generic methods, such as scatterGather() and establishCursors(), that it may be helpful to have available on mongod in the future.
So, a simple fix is to link cluster_commands_common.cpp into mongod as well.
- is duplicated by
-
SERVER-29567 move appendWriteConcernErrorToCmdResponse() into cluster_commands_common.cpp
- Closed