summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_mock.h
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2018-12-06 15:53:36 -0500
committerMatthew Russotto <matthew.russotto@10gen.com>2018-12-06 15:53:43 -0500
commit7cc3c41cf8060966545c844e4d83c7d0ff3994e8 (patch)
tree51e480d76a1b9625e62202936ff3114e85105142 /src/mongo/db/repl/storage_interface_mock.h
parent28e38550525a1e338ea2882da3ddce518771627f (diff)
downloadmongo-7cc3c41cf8060966545c844e4d83c7d0ff3994e8.tar.gz
SERVER-34620 Make speculative read atClusterTime not wait for the given cluster time to be majority-committed
Diffstat (limited to 'src/mongo/db/repl/storage_interface_mock.h')
-rw-r--r--src/mongo/db/repl/storage_interface_mock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/storage_interface_mock.h b/src/mongo/db/repl/storage_interface_mock.h
index 3779ecfb509..5189a4303ff 100644
--- a/src/mongo/db/repl/storage_interface_mock.h
+++ b/src/mongo/db/repl/storage_interface_mock.h
@@ -323,7 +323,8 @@ public:
return isAdminDbValidFn(opCtx);
};
- void waitForAllEarlierOplogWritesToBeVisible(OperationContext* opCtx) override {
+ void waitForAllEarlierOplogWritesToBeVisible(OperationContext* opCtx,
+ bool primaryOnly) override {
return;
}