diff options
author | Cheahuychou Mao <mao.cheahuychou@gmail.com> | 2021-10-19 14:52:57 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-29 00:50:10 +0000 |
commit | ea197fd5193fe034174584e60290dd90fe01d2b1 (patch) | |
tree | ac2e923c5dc87fd4115293b60f6ed926433b078a /src/mongo/db/repl/oplog_entry.idl | |
parent | 5e8446f92d4826cfe2e8b9082efd0fbd540a9718 (diff) | |
download | mongo-ea197fd5193fe034174584e60290dd90fe01d2b1.tar.gz |
SERVER-58756 Store stmtIds for the operations in retryable internal transactions in applyOps oplog entries
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.idl')
-rw-r--r-- | src/mongo/db/repl/oplog_entry.idl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mongo/db/repl/oplog_entry.idl b/src/mongo/db/repl/oplog_entry.idl index 6b014e66e3e..06c9ee1fcab 100644 --- a/src/mongo/db/repl/oplog_entry.idl +++ b/src/mongo/db/repl/oplog_entry.idl @@ -59,8 +59,8 @@ enums: structs: DurableReplOperation: - description: "A document that represents an operation in a transaction. Should never be - used directly in server code. Instead, create an instance of ReplOperation." + description: "A document that represents an operation. Should never be used directly in + server code. Instead, create an instance of ReplOperation." fields: op: cpp_name: opType @@ -104,6 +104,13 @@ structs: optional: true description: "The destined recipient for this op under the new shard key pattern. Only included when a resharding operation is in progress." + stmtId: + cpp_name: statementIds + type: + variant: [StmtId, array<StmtId>] + optional: true + description: "Identifier of the transaction statement(s) which generated this oplog + entry" OplogEntryBase: description: A document in which the server stores an oplog entry. @@ -142,13 +149,6 @@ structs: optional: true description: "Used by tests in replication and also by production resharding code to store timestamps." - stmtId: - cpp_name: statementIds - type: - variant: [StmtId, array<StmtId>] - optional: true - description: "Identifier of the transaction statement(s) which generated this oplog - entry" prevOpTime: cpp_name: prevWriteOpTimeInTransaction type: optime |