summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_external_state.h
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2018-01-04 17:32:21 -0500
committerTess Avitabile <tess.avitabile@mongodb.com>2018-01-23 09:57:56 -0500
commita98d497c957dc2da7d29c37be9809ace992ef946 (patch)
tree17191166815defa371bfead2ddeb022b752f03a6 /src/mongo/db/repl/replication_coordinator_external_state.h
parentad0ab27807a29e025b36a82ede139c975ad65cfb (diff)
downloadmongo-a98d497c957dc2da7d29c37be9809ace992ef946.tar.gz
SERVER-32517 Parse readConcern snapshot and atClusterTime
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_external_state.h')
-rw-r--r--src/mongo/db/repl/replication_coordinator_external_state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_external_state.h b/src/mongo/db/repl/replication_coordinator_external_state.h
index ff12be19d49..744abfa991a 100644
--- a/src/mongo/db/repl/replication_coordinator_external_state.h
+++ b/src/mongo/db/repl/replication_coordinator_external_state.h
@@ -284,6 +284,11 @@ public:
virtual bool isReadCommittedSupportedByStorageEngine(OperationContext* opCtx) const = 0;
/**
+ * Returns true if the current storage engine supports snapshot read concern.
+ */
+ virtual bool isReadConcernSnapshotSupportedByStorageEngine(OperationContext* opCtx) const = 0;
+
+ /**
* Applies the operations described in the oplog entries contained in "ops" using the
* "applyOperation" function.
*/