diff options
author | Randolph Tan <randolph@10gen.com> | 2018-01-29 15:00:44 -0500 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2018-02-05 15:07:39 -0500 |
commit | 731a5ed5e2859ecc76b1b241c086406f9e6c3867 (patch) | |
tree | 5ed11ab38e48b1424e0268b0ce4189468ef135e0 /src/mongo/s/chunk.h | |
parent | b7a8411eed8fece571b48406b0be02ed1bc9eacf (diff) | |
download | mongo-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.h | 2 |
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); |