summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/chunk.h')
-rw-r--r--src/mongo/s/chunk.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mongo/s/chunk.h b/src/mongo/s/chunk.h
index 488c691f412..1bde1d67f8b 100644
--- a/src/mongo/s/chunk.h
+++ b/src/mongo/s/chunk.h
@@ -157,7 +157,8 @@ public:
bool splitIfShould(long dataWritten) const;
/**
- * Splits this chunk at a non-specificed split key to be chosen by the mongod holding this chunk.
+ * Splits this chunk at a non-specificed split key to be chosen by the mongod holding this
+ * chunk.
*
* @param mode
* @param res the object containing details about the split execution
@@ -316,7 +317,8 @@ private:
*/
void determineSplitPoints(bool atMedian, std::vector<BSONObj>* splitPoints) const;
- /** initializes _dataWritten with a random value so that a mongos restart wouldn't cause delay in splitting */
+ /** initializes _dataWritten with a random value so that a mongos restart wouldn't cause delay
+ * in splitting */
static int mkDataWritten();
};
@@ -440,7 +442,8 @@ public:
}
/**
- * this is just an increasing number of how many ChunkManagers we have so we know if something has been updated
+ * this is just an increasing number of how many ChunkManagers we have so we know if something
+ * has been updated
*/
unsigned long long getSequenceNumber() const {
return _sequenceNumber;