diff options
author | Kevin Pulo <kevin.pulo@mongodb.com> | 2020-04-16 14:45:53 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-12 13:08:08 +0000 |
commit | 94ff51257a099ee6af4a9c41ee61245918227760 (patch) | |
tree | 5d5f880fb4708cb65abf9e369f0f022aa6d6d0c4 /src/mongo/db/s/balancer/balancer.h | |
parent | 14bb6a661fc7a8b693613203693b8232c6f91944 (diff) | |
download | mongo-94ff51257a099ee6af4a9c41ee61245918227760.tar.gz |
SERVER-46200 implement basic VectorClock service
Diffstat (limited to 'src/mongo/db/s/balancer/balancer.h')
-rw-r--r-- | src/mongo/db/s/balancer/balancer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/s/balancer/balancer.h b/src/mongo/db/s/balancer/balancer.h index fdbbb79d1d5..eef505a014a 100644 --- a/src/mongo/db/s/balancer/balancer.h +++ b/src/mongo/db/s/balancer/balancer.h @@ -59,6 +59,12 @@ class Balancer : public ReplicaSetAwareServiceConfigSvr<Balancer> { Balancer& operator=(const Balancer&) = delete; public: + /** + * Provide access to the Balancer decoration on ServiceContext. + */ + static Balancer* get(ServiceContext* serviceContext); + static Balancer* get(OperationContext* operationContext); + Balancer(); ~Balancer(); |