Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cherrypick-1.1: sql: Refresh table leases asynchronously on access #18824

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

lgo
Copy link
Contributor

@lgo lgo commented Sep 27, 2017

Previously if we would only refresh a table lease if it would be expired for the
transaction timestamp. Now we will refresh the lease asynchronously on access if
it is about to expire in order to prevent transactions from blocking on lease
acquisition.

Fixes #17227.

--

No conflicts during cherrypick.

Will help resolve #18684.

Previously if we would only refresh a table lease if it would be expired for the
transaction timestamp. Now we will refresh the lease asynchronously on access if
it is about to expire in order to prevent transactions from blocking on lease
acquisition.

Fixes cockroachdb#17227.
@lgo lgo requested review from vivekmenezes and a team September 27, 2017 14:35
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@lgo lgo merged commit 3feb591 into cockroachdb:release-1.1 Sep 27, 2017
@lgo lgo deleted the joey/async-table-lease-refresh-1.1 branch September 27, 2017 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants