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

release-19.2: kv: fix cluster_logical_timestamp() #41439

Merged
merged 1 commit into from
Oct 8, 2019

Conversation

andreimatei
Copy link
Contributor

Backport 1/1 commits from #41438.

/cc @cockroachdb/release


Before this patch, the txn.CommitTimestamp() function (which powers
the cluster_logical_timestamp(), among others) was failing to take into
consideration possible refreshes that might have happened since the
current epoch began (i.e. txn.RefreshedTimestamp).

Fixes #41424

Release note (bug fix): Fix a bug causing the
cluster_logical_timestamp() function to sometimes return incorrect
results.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Before this patch, the txn.CommitTimestamp() function (which powers
the cluster_logical_timestamp(), among others) was failing to take into
consideration possible refreshes that might have happened since the
current epoch began (i.e. txn.RefreshedTimestamp).

Fixes cockroachdb#41424

Release note (bug fix): Fix a bug causing the
cluster_logical_timestamp() function to sometimes return incorrect
results.
@andreimatei
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Oct 8, 2019
41439: release-19.2: kv: fix cluster_logical_timestamp() r=andreimatei a=andreimatei

Backport 1/1 commits from #41438.

/cc @cockroachdb/release

---

Before this patch, the txn.CommitTimestamp() function (which powers
the cluster_logical_timestamp(), among others) was failing to take into
consideration possible refreshes that might have happened since the
current epoch began (i.e. txn.RefreshedTimestamp).

Fixes #41424

Release note (bug fix): Fix a bug causing the
cluster_logical_timestamp() function to sometimes return incorrect
results.


Co-authored-by: Andrei Matei <[email protected]>
@craig
Copy link
Contributor

craig bot commented Oct 8, 2019

Build succeeded

@craig craig bot merged commit 10f3bbd into cockroachdb:release-19.2 Oct 8, 2019
@andreimatei andreimatei deleted the backport19.2-41438 branch October 9, 2019 15:13
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.

4 participants