diff options
author | Yu Jin Kang Park <yujin.kang@mongodb.com> | 2022-10-06 07:57:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-10-06 08:54:07 +0000 |
commit | 32b8f72910d871e978fdacbebaf6e486ffcfc10c (patch) | |
tree | 875276bdef48de6f38587d3acffd898df34e827c /src/mongo/db/repl/oplog_entry.h | |
parent | 58b0596d972874495a73f56b9f99299c6d03db52 (diff) | |
download | mongo-32b8f72910d871e978fdacbebaf6e486ffcfc10c.tar.gz |
SERVER-69554: Parallelise global index CRUD replication
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.h')
-rw-r--r-- | src/mongo/db/repl/oplog_entry.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog_entry.h b/src/mongo/db/repl/oplog_entry.h index 70c5fa35430..b6410503ce2 100644 --- a/src/mongo/db/repl/oplog_entry.h +++ b/src/mongo/db/repl/oplog_entry.h @@ -549,6 +549,12 @@ public: bool isCrudOpType() const; /** + * Returns true if the oplog entry is for a global index CRUD operation. + */ + static bool isGlobalIndexCrudOpType(OpTypeEnum opType); + bool isGlobalIndexCrudOpType() const; + + /** * Returns true if the oplog entry is for an Update or Delete operation. */ bool isUpdateOrDelete() const; @@ -756,6 +762,7 @@ public: mongo::Date_t getWallClockTimeForPreImage() const; bool isCrudOpType() const; + bool isGlobalIndexCrudOpType() const; bool isUpdateOrDelete() const; bool isIndexCommandType() const; bool shouldPrepare() const; |