diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-04-19 11:33:35 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-04-25 16:28:29 -0400 |
commit | 53e4c6733ccb6ca77892641e013882da8536f313 (patch) | |
tree | 50ec9bd4516c95910414f16c4abeb03538ba9dd3 /src/mongo/s/cluster_last_error_info.h | |
parent | 821c2bb43c54c822e9f2b2b35768c3e2266a5050 (diff) | |
download | mongo-53e4c6733ccb6ca77892641e013882da8536f313.tar.gz |
SERVER-23494 Move saveGLEStats into sharding_egress_metadata_hook_for_mongos
This is in order to make the mongos egress metadata hook and GLE stats
info for mongos only link in mongos.
Diffstat (limited to 'src/mongo/s/cluster_last_error_info.h')
-rw-r--r-- | src/mongo/s/cluster_last_error_info.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/s/cluster_last_error_info.h b/src/mongo/s/cluster_last_error_info.h index d6104518957..0fc317c660b 100644 --- a/src/mongo/s/cluster_last_error_info.h +++ b/src/mongo/s/cluster_last_error_info.h @@ -97,16 +97,4 @@ private: RequestInfo* _prev = &_infos[1]; }; -/** - * Looks for $gleStats in a command's reply metadata, and fills in the ClusterLastErrorInfo - * for this thread's associated Client with the data, if found. - * - * This data will be used by subsequent GLE calls, to ensure we look for the correct - * write on the correct PRIMARY. - * result: the result from calling runCommand - * conn: the std::string name of the hostAndPort where the command ran. This can be a replica - * set seed list. - */ -void saveGLEStats(const BSONObj& metadataObj, StringData conn); - } // namespace mongo |