diff options
author | Benety Goh <benety@mongodb.com> | 2016-09-16 14:03:47 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2016-09-16 16:14:06 -0400 |
commit | 446c059c3086dcb579816d29b8e1b43da13e8dbb (patch) | |
tree | 15d1078421c2bc1de442ddba7cb501cdbfc45223 /src/mongo/db/repl/oplog_buffer_blocking_queue.h | |
parent | 4df2c88f48426b3692d8bf507dda02753d0c5785 (diff) | |
download | mongo-446c059c3086dcb579816d29b8e1b43da13e8dbb.tar.gz |
SERVER-25268 renamed OplogBuffer::blockingPeek to waitForData and removed peek functionality
Diffstat (limited to 'src/mongo/db/repl/oplog_buffer_blocking_queue.h')
-rw-r--r-- | src/mongo/db/repl/oplog_buffer_blocking_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog_buffer_blocking_queue.h b/src/mongo/db/repl/oplog_buffer_blocking_queue.h index 490b863f1f3..b0fa36a8157 100644 --- a/src/mongo/db/repl/oplog_buffer_blocking_queue.h +++ b/src/mongo/db/repl/oplog_buffer_blocking_queue.h @@ -55,7 +55,7 @@ public: std::size_t getCount() const override; void clear(OperationContext* txn) override; bool tryPop(OperationContext* txn, Value* value) override; - bool blockingPeek(OperationContext* txn, Value* value, Seconds waitDuration) override; + bool waitForData(Seconds waitDuration) override; bool peek(OperationContext* txn, Value* value) override; boost::optional<Value> lastObjectPushed(OperationContext* txn) const override; |