summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharding_state.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2016-07-25 16:38:38 -0400
committerRandolph Tan <randolph@10gen.com>2016-07-26 17:24:45 -0400
commitf22f6e220e5471c0876938bd0812ffa62901e3a7 (patch)
treefa18408d76e87b0d2ebbc502181e52ffd9c7d242 /src/mongo/db/s/sharding_state.h
parentad5040e94641e0dcfccbd1d415520281618afde8 (diff)
downloadmongo-f22f6e220e5471c0876938bd0812ffa62901e3a7.tar.gz
SERVER-25254 Only advance config server optime in response to messages from cluster members
Diffstat (limited to 'src/mongo/db/s/sharding_state.h')
-rw-r--r--src/mongo/db/s/sharding_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/sharding_state.h b/src/mongo/db/s/sharding_state.h
index 23e49047981..e9605c6b717 100644
--- a/src/mongo/db/s/sharding_state.h
+++ b/src/mongo/db/s/sharding_state.h
@@ -141,7 +141,7 @@ public:
* Updates the ShardRegistry's stored notion of the config server optime based on the
* ConfigServerMetadata decoration attached to the OperationContext.
*/
- void updateConfigServerOpTimeFromMetadata(OperationContext* txn);
+ Status updateConfigServerOpTimeFromMetadata(OperationContext* txn);
/**
* Assigns a shard name to this MongoD instance.