summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2016-08-15 19:06:30 -0400
committerMathias Stearn <mathias@10gen.com>2016-08-23 10:49:55 -0400
commit34c6c691a038eac1ac3ee16e1eedc54aab964774 (patch)
tree7a0776eba2e12ade082628f1654aee3a753feb57 /src/mongo/db/repl/storage_interface.cpp
parent3bcafe4fe23c9521fe028a176fffabdc79d434e9 (diff)
downloadmongo-34c6c691a038eac1ac3ee16e1eedc54aab964774.tar.gz
SERVER-7200 Write oplog entries on secondaries before applying
Diffstat (limited to 'src/mongo/db/repl/storage_interface.cpp')
-rw-r--r--src/mongo/db/repl/storage_interface.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mongo/db/repl/storage_interface.cpp b/src/mongo/db/repl/storage_interface.cpp
index 557b44d079a..b9a1c25df45 100644
--- a/src/mongo/db/repl/storage_interface.cpp
+++ b/src/mongo/db/repl/storage_interface.cpp
@@ -43,21 +43,6 @@ const auto getStorageInterface =
ServiceContext::declareDecoration<std::unique_ptr<StorageInterface>>();
}
-bool BatchBoundaries::operator==(const BatchBoundaries& rhs) const {
- if (&rhs == this) {
- return true;
- }
- return start == rhs.start && end == rhs.end;
-}
-
-std::string BatchBoundaries::toString() const {
- return str::stream() << "[start=" << start.toString() << ", end=" << end.toString() << "]";
-}
-
-std::ostream& operator<<(std::ostream& stream, const BatchBoundaries& boundaries) {
- return stream << boundaries.toString();
-}
-
StorageInterface* StorageInterface::get(ServiceContext* service) {
return getStorageInterface(service).get();
}