summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-04-26 11:05:53 -0400
committerBenety Goh <benety@mongodb.com>2018-04-26 11:05:53 -0400
commit810b253e98ca094743288f8174da876af47fa8f8 (patch)
tree139a78c6d9b50680aa3d64ad5f32edbe7273ce5d /src/mongo/s/chunk.cpp
parent316bcc98e2b89e266493612ee1cf4680a0265e0f (diff)
downloadmongo-810b253e98ca094743288f8174da876af47fa8f8.tar.gz
SERVER-34364 replace references to invariantOK with invariant
Diffstat (limited to 'src/mongo/s/chunk.cpp')
-rw-r--r--src/mongo/s/chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/chunk.cpp b/src/mongo/s/chunk.cpp
index 9e52a811405..42ea3feb496 100644
--- a/src/mongo/s/chunk.cpp
+++ b/src/mongo/s/chunk.cpp
@@ -64,7 +64,7 @@ ChunkInfo::ChunkInfo(const ChunkType& from)
_history(from.getHistory()),
_jumbo(from.getJumbo()),
_dataWritten(mkDataWritten()) {
- invariantOK(from.validate());
+ invariant(from.validate());
if (!_history.empty()) {
invariant(_shardId == _history.front().getShard());
}