diff options
author | Martin Neupauer <martin.neupauer@10gen.com> | 2018-03-06 21:27:26 -0500 |
---|---|---|
committer | Martin Neupauer <martin.neupauer@mongodb.com> | 2018-03-27 13:18:55 -0400 |
commit | e6503239af00e7a7a5848ed7784142ac904e4218 (patch) | |
tree | 347220712d1e74f9d2ed9f41c6bc87e95eb9232f /src/mongo/s/write_ops | |
parent | 15a1f6446d89fe30c63f1dc23ecc4c477b905168 (diff) | |
download | mongo-e6503239af00e7a7a5848ed7784142ac904e4218.tar.gz |
SERVER-33453 - Add timestamp support to the ChunkManager
Diffstat (limited to 'src/mongo/s/write_ops')
-rw-r--r-- | src/mongo/s/write_ops/cluster_write.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/write_ops/cluster_write.cpp b/src/mongo/s/write_ops/cluster_write.cpp index fe288bfbd56..9eab15b47cd 100644 --- a/src/mongo/s/write_ops/cluster_write.cpp +++ b/src/mongo/s/write_ops/cluster_write.cpp @@ -259,12 +259,12 @@ void updateChunkWriteStatsAndSplitIfNeeded(OperationContext* opCtx, const NamespaceString& nss = manager->getns(); - if (!manager->_autoSplitThrottle._splitTickets.tryAcquire()) { + if (!manager->autoSplitThrottle()._splitTickets.tryAcquire()) { LOG(1) << "won't auto split because not enough tickets: " << nss; return; } - TicketHolderReleaser releaser(&(manager->_autoSplitThrottle._splitTickets)); + TicketHolderReleaser releaser(&(manager->autoSplitThrottle()._splitTickets)); const ChunkRange chunkRange(chunk->getMin(), chunk->getMax()); |