[SERVER-39035] Specify durable_timestamp when committing prepared transaction Created: 16/Jan/19  Updated: 29/Oct/23  Resolved: 26/Feb/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.1.9

Type: Task Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Suganthi Mani
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-39064 Storage interface changes for specify... Closed
depends on WT-4505 Add ability to manage when prepared t... Closed
is depended on by SERVER-39036 Stop pinning stable timestamp behind ... Closed
is depended on by SERVER-39042 Choose commit timestamp for transacti... Closed
Related
is related to SERVER-39782 Replaying prepared transaction writes... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2019-02-25, Repl 2019-03-11
Participants:

 Description   

Pass the commit oplog entry timestamp as the durable_timestamp when committing a prepared storage transaction.



 Comments   
Comment by Githook User [ 26/Feb/19 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-39035 Specify durable_timestamp when committing prepared transaction.
Branch: master
https://github.com/mongodb/mongo/commit/72425ec865efeeea9c1cb61c4cde9393fd4dc9d5

Comment by Vamsi Boyapati [ 19/Jan/19 ]

tess.avitabile, sorry I made a mistake, storage interface changes to be part of SERVER-39064.

Comment by Tess Avitabile (Inactive) [ 18/Jan/19 ]

vamsi.krishna, it was my intention to have the storage interface changes made under SERVER-39064. This ticket is for replication to use the new storage interface and start specifying a durable timestamp when committing prepared transactions.

Comment by Vamsi Boyapati [ 18/Jan/19 ]

milkie, geert.bosch, daniel.gottlieb@10gen.com, I would like to have a conversation with regards to this ticket.
This ticket is to update storage interface to support durable_timestamp for prepared transactions. I think we need to add 

virtual void setDurableTimestamp(Timestamp timestamp);
virtual void getDurableTimestamp(Timestamp timestamp);
 

to db/storage/recovery_unit.h. The interface change related to WiredTiger part is completed as part of WT-4505.

Comment by Tess Avitabile (Inactive) [ 17/Jan/19 ]

Thanks, vamsi.krishna. I also created SERVER-39064 for the storage interface changes.

Comment by Vamsi Boyapati [ 17/Jan/19 ]

tess.avitabile, I have linked the dependency on WT-4505 which is already landed in mongodb master branch.

Generated at Thu Feb 08 04:50:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.