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

kvserver: return DeprecatedLeaseHolder field in NLHEs #91515

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

arulajmani
Copy link
Collaborator

v22.1 binaries assume that the leaseholder is unknown when logging NLHE errors if the (Deprecated)LeaseHolder field is unset -- regardless of if the Lease is set or not. We broke this logging in 0402f47 (for mixed version clusters) when we stopped shipping back leaseholder information (in favour of only shipping lease information) on NLHEs. This patch fixes this by populating the (Deprecated)LeaseHolder field when constructing NLHEs.

Release note: None

v22.1 binaries assume that the leaseholder is unknown when logging
NLHE errors if the (Deprecated)LeaseHolder field is unset -- regardless
of if the Lease is set or not. We broke this logging in 0402f47
(for mixed version clusters) when we stopped shipping back leaseholder
information (in favour of only shipping lease information) on NLHEs.
This patch fixes this by populating the (Deprecated)LeaseHolder field
when constructing NLHEs.

Release note: None
@arulajmani arulajmani requested a review from a team as a code owner November 8, 2022 15:50
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@nvanbenschoten nvanbenschoten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

We'll want to backport this to v22.2.1, right?

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @arulajmani)

@arulajmani
Copy link
Collaborator Author

TFTR! I added the label for 22.2.1.

bors r+

@craig
Copy link
Contributor

craig bot commented Nov 8, 2022

Build succeeded:

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