summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/balancer/balancer.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2020-07-27 15:41:32 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-31 21:23:21 +0000
commit0e0614dfac5e0ba89e355a5822abfee9bd6766a7 (patch)
tree5b0b08d13fd275858705afb98c6561a7ef31321b /src/mongo/db/s/balancer/balancer.h
parentdadd93eb31448df58e6fc0f68f50de36c9060a01 (diff)
downloadmongo-0e0614dfac5e0ba89e355a5822abfee9bd6766a7.tar.gz
SERVER-49935 Add startup method to ReplicaSetAwareService interface
Diffstat (limited to 'src/mongo/db/s/balancer/balancer.h')
-rw-r--r--src/mongo/db/s/balancer/balancer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/s/balancer/balancer.h b/src/mongo/db/s/balancer/balancer.h
index 5982f436637..d781ae661bd 100644
--- a/src/mongo/db/s/balancer/balancer.h
+++ b/src/mongo/db/s/balancer/balancer.h
@@ -167,6 +167,7 @@ private:
/**
* ReplicaSetAwareService entry points.
*/
+ void onStartup(OperationContext* opCtx) final {}
void onStepUpBegin(OperationContext* opCtx, long long term) final;
void onStepUpComplete(OperationContext* opCtx, long long term) final;
void onStepDown() final;