[SERVER-39064] Storage interface changes for specifying durable_timestamp Created: 17/Jan/19  Updated: 29/Oct/23  Resolved: 04/Feb/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.8

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

Issue Links:
Depends
depends on WT-4505 Add ability to manage when prepared t... Closed
is depended on by SERVER-39035 Specify durable_timestamp when commit... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-02-11
Participants:
Story Points: 3

 Description   

The storage interface must allow specifying a durable_timestamp when committing a prepared transaction.



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

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-39064 Storage interface changes for specifying durable_timestamp
Branch: master
https://github.com/mongodb/mongo/commit/873ff40b0eea3cb48cf223f3a44ad771d25884fd

Comment by Vamsi Boyapati [ 21/Jan/19 ]

daniel.gottlieb, yes

virtual Timestamp getDurableTimestamp();

is correct.
I think both together is better, instead of another ticket.

Comment by Daniel Gottlieb (Inactive) [ 20/Jan/19 ]

I think right now we only need `setDurableTimestamp`. But if both were added, that wouldn't be a problem. I also assume you mean for the getter:

virtual Timestamp getDurableTimestamp();

Comment by Vamsi Boyapati [ 19/Jan/19 ]

milkie, geert.bosch, daniel.gottlieb@10gen.com, I would like to have a conversation with regards to this ticket. Earlier mistakingly I mentioned in SERVER-39035.
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.

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