summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2018-01-29 15:00:44 -0500
committerRandolph Tan <randolph@10gen.com>2018-02-05 15:07:39 -0500
commit731a5ed5e2859ecc76b1b241c086406f9e6c3867 (patch)
tree5ed11ab38e48b1424e0268b0ce4189468ef135e0 /src/mongo/s/chunk.h
parentb7a8411eed8fece571b48406b0be02ed1bc9eacf (diff)
downloadmongo-731a5ed5e2859ecc76b1b241c086406f9e6c3867.tar.gz
SERVER-32970 put back random chunk size initialization in mongos auto split tracking
Diffstat (limited to 'src/mongo/s/chunk.h')
-rw-r--r--src/mongo/s/chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/chunk.h b/src/mongo/s/chunk.h
index 867bdce54fc..540238463b5 100644
--- a/src/mongo/s/chunk.h
+++ b/src/mongo/s/chunk.h
@@ -42,7 +42,7 @@ class BSONObj;
class Chunk {
public:
// Test whether we should split once data * kSplitTestFactor > chunkSize (approximately)
- const uint64_t kSplitTestFactor = 5;
+ static const uint64_t kSplitTestFactor = 5;
explicit Chunk(const ChunkType& from);