summaryrefslogtreecommitdiff
path: root/src/mongo/s/cluster_last_error_info.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-04-19 08:08:48 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-04-19 10:23:27 -0400
commitf489fa393f3d878cc2284d1b8d13243099140dff (patch)
tree98693845b124c326ec1620f6936994d28b56f250 /src/mongo/s/cluster_last_error_info.h
parent02d3aaef91048564e2a98fd4cb8ea91e257c81f0 (diff)
downloadmongo-f489fa393f3d878cc2284d1b8d13243099140dff.tar.gz
SERVER-23494 Cleanup sharding library dependencies
Also saveGLEStats into sharding_egress_metadata_hook_for_mongos on the way to move mongos-specific dependencies to bel inked in mongos only.
Diffstat (limited to 'src/mongo/s/cluster_last_error_info.h')
-rw-r--r--src/mongo/s/cluster_last_error_info.h12
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