You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
catalog/lease: update locked timestamps when updates are received
Previously, the lease manager would increase its locked read time stamp
was when a check point occurred on the range feed. This was not adequate
because this could cause schema changes could be slowed down if the old
version of descriptors was held. While the current design does not
intentionally reserve, previous versions, a later update will start
holding old versions intentionally to serve queries. To address this,
this patch has schema changes write the list of descriptors modified to
a special key `/Table/Descriptors/2/<First ID in Schema Change`, which
will be used by the lease manager range feed to to update timestamps.
Additionally, this patch also deflakes and fixes
`TestLeaseManagerLockedTimestampBasic`, which was not setup correctly.
Informs: #153618Fixes: #153826
Release note: None
0 commit comments