-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
Repl 2019-03-11, Repl 2019-03-25
The new commit format includes a new "prepared" field, even though it doesn't have any functional change.
{ "ts": Timestamp(1538534640, 11), "t": NumberLong(1), "op": "c", "ns": "admin.$cmd", // The new commitTransaction command, for prepared transaction. "o": { "commitTransaction": 1, "prepared": true }, "lsid": < lsid > , "txnNumber": NumberLong("1"), // Pointing to the previous oplog entry in the transaction. "prevOpTime": { "ts": Timestamp(1538534640, 10), "t": NumberLong(1) } }
- has to be done before
-
SERVER-39790 Reconstruct prepared transactions from new oplog format on startup
- Closed