Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Repl 2019-03-11, Repl 2019-03-25
Description
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) }
|
}
|
Attachments
Issue Links
- has to be done before
-
SERVER-39790 Reconstruct prepared transactions from new oplog format on startup
-
- Closed
-