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

kv,admission: add missing admission headers #116286

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

aadityasondhi
Copy link
Collaborator

This patch adds missing admission headers in a couple of places: txn_interceptor_heartbeater and replica_range_lease. Batch requests coming from these code paths are expected to bypass AC. Empty admission headers were accomplishing the same goal but this makes it more clear at what the intention is.

Informs #112680

Release note: None

This patch adds missing admission headers in a couple of places:
`txn_interceptor_heartbeater` and `replica_range_lease`. Batch requests
coming from these code paths are expected to bypass AC. Empty admission
headers were accomplishing the same goal but this makes it more clear at
what the intention is.

Informs cockroachdb#112680

Release note: None
@aadityasondhi aadityasondhi requested review from sumeerbhola and a team December 12, 2023 21:59
@aadityasondhi aadityasondhi requested a review from a team as a code owner December 12, 2023 21:59
Copy link

blathers-crl bot commented Dec 12, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@aadityasondhi aadityasondhi added backport-23.2.x Flags PRs that need to be backported to 23.2. backport-23.2.0-rc and removed backport-23.2.0-rc labels Dec 13, 2023
Copy link
Collaborator

@sumeerbhola sumeerbhola left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

Copy link
Collaborator Author

@aadityasondhi aadityasondhi left a comment

Choose a reason for hiding this comment

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

TFTR!

bors r=sumeerbhola

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @aadityasondhi)

@craig
Copy link
Contributor

craig bot commented Dec 13, 2023

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.2.x Flags PRs that need to be backported to 23.2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants