-
Notifications
You must be signed in to change notification settings - Fork 4.1k
kv: fix interaction between lease transfers and future time operations #57688
Copy link
Copy link
Closed
Labels
A-kv-transactionsRelating to MVCC and the transactional model.Relating to MVCC and the transactional model.A-multiregionRelated to multi-regionRelated to multi-regionC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
Needed for non-blocking transactions: #52745.
Once we begin allowing operations at future times, lease transfers needs to incorporate the maximum time of reads performed on the current leaseholder. The transfer should either prevent the next lease from having a start time before maximum read timestamp, or at least inform the next leaseholder of this maximum read timestamp.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-kv-transactionsRelating to MVCC and the transactional model.Relating to MVCC and the transactional model.A-multiregionRelated to multi-regionRelated to multi-regionC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)