summaryrefslogtreecommitdiff
path: root/src/mongo/s/balancer_configuration.h
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2017-08-08 09:07:08 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2017-08-08 15:30:56 -0400
commita70b206b4d056de139e649e17d7c1ca3a5c79a52 (patch)
treede009d0533bf66824190edc4c39977bff4199b70 /src/mongo/s/balancer_configuration.h
parent7bc94c5f02e9d32b7faca61013f8b70b92c1437f (diff)
downloadmongo-a70b206b4d056de139e649e17d7c1ca3a5c79a52.tar.gz
Revert "SERVER-30219 Make metadata commands use kLocalReadConcern"
This reverts commit e101217eabfaa8d10c1c6cce969fa773ead966f2.
Diffstat (limited to 'src/mongo/s/balancer_configuration.h')
-rw-r--r--src/mongo/s/balancer_configuration.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mongo/s/balancer_configuration.h b/src/mongo/s/balancer_configuration.h
index 9a4de01c9cc..71a3832f537 100644
--- a/src/mongo/s/balancer_configuration.h
+++ b/src/mongo/s/balancer_configuration.h
@@ -33,7 +33,6 @@
#include <cstdint>
#include "mongo/base/disallow_copying.h"
-#include "mongo/db/repl/read_concern_args.h"
#include "mongo/platform/atomic_word.h"
#include "mongo/s/migration_secondary_throttle_options.h"
#include "mongo/stdx/mutex.h"
@@ -255,18 +254,14 @@ public:
* This method is thread-safe but it doesn't make sense to be called from more than one thread
* at a time.
*/
- Status refreshAndCheck(
- OperationContext* opCtx,
- const repl::ReadConcernLevel& readConcern = repl::ReadConcernLevel::kMajorityReadConcern);
+ Status refreshAndCheck(OperationContext* opCtx);
private:
/**
* Reloads the balancer configuration from the settings document. Fails if the settings document
* cannot be read, in which case the values will remain unchanged.
*/
- Status _refreshBalancerSettings(
- OperationContext* opCtx,
- const repl::ReadConcernLevel& readConcern = repl::ReadConcernLevel::kMajorityReadConcern);
+ Status _refreshBalancerSettings(OperationContext* opCtx);
/**
* Reloads the chunk sizes configuration from the settings document. Fails if the settings