summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/balancer/balancer.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2018-12-05 17:08:48 -0500
committerRandolph Tan <randolph@10gen.com>2019-01-04 16:17:30 -0500
commit62076130c3321f842f3ce4fb426aefc078074206 (patch)
treec7b2c756fc95bb18794ac91212d8fc386be00d4a /src/mongo/db/s/balancer/balancer.h
parente3eaddbf01d4c0939370b117a44b60069b68158e (diff)
downloadmongo-62076130c3321f842f3ce4fb426aefc078074206.tar.gz
SERVER-37853 Create sharded_core_txn with balancer suite
Diffstat (limited to 'src/mongo/db/s/balancer/balancer.h')
-rw-r--r--src/mongo/db/s/balancer/balancer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/s/balancer/balancer.h b/src/mongo/db/s/balancer/balancer.h
index eb0b143b6bc..db11d7d0c64 100644
--- a/src/mongo/db/s/balancer/balancer.h
+++ b/src/mongo/db/s/balancer/balancer.h
@@ -144,6 +144,11 @@ public:
*/
void report(OperationContext* opCtx, BSONObjBuilder* builder);
+ /**
+ * Informs the balancer that a setting that affects it changed.
+ */
+ void notifyPersistedBalancerSettingsChanged();
+
private:
/**
* Possible runtime states of the balancer. The comments indicate the allowed next state.