Skip to content

kvfollowerreadsccl: version gate bounded staleness reads#69351

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
otan-cockroach:gate_bs
Aug 26, 2021
Merged

kvfollowerreadsccl: version gate bounded staleness reads#69351
craig[bot] merged 2 commits intocockroachdb:masterfrom
otan-cockroach:gate_bs

Conversation

@otan
Copy link
Copy Markdown
Contributor

@otan otan commented Aug 25, 2021

see commits for details

resolves #69347

Release justification: fix for new functionality

@otan otan requested a review from nvb August 25, 2021 07:13
@otan otan requested a review from a team as a code owner August 25, 2021 07:13
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@nvb nvb left a comment

Choose a reason for hiding this comment

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

:lgtm: thanks!

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


pkg/ccl/kvccl/kvfollowerreadsccl/boundedstaleness.go, line 27 at r2 (raw file):

func checkBoundedStalenessEnabled(ctx *tree.EvalContext) error {
	st := ctx.Settings
	if !ctx.Settings.Version.IsActive(ctx.Ctx(), clusterversion.BoundedStaleness) {

nit: s/ctx.Settings/st/

@otan otan force-pushed the gate_bs branch 2 times, most recently from 1745af2 to 9128da5 Compare August 25, 2021 20:43
@otan
Copy link
Copy Markdown
Contributor Author

otan commented Aug 25, 2021

bors r=nvanbenschoten

@irfansharif
Copy link
Copy Markdown
Contributor

bors r-

Merge conflict with master.

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 25, 2021

Canceled.

@otan
Copy link
Copy Markdown
Contributor Author

otan commented Aug 25, 2021

bors' approach to merge conflict (split PRs apart and try again) seems terrifyingly slow; merge conflicts are cheaper to detect than splitting in half and going through a CI run. sigh.

thanks for the pickup

@otan
Copy link
Copy Markdown
Contributor Author

otan commented Aug 26, 2021

bors r=nvanbenschoten

@otan
Copy link
Copy Markdown
Contributor Author

otan commented Aug 26, 2021

bors r-

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 26, 2021

Canceled.

Release justification: testing only change

Release note: None
@otan
Copy link
Copy Markdown
Contributor Author

otan commented Aug 26, 2021

bors r=nvanbenschoten

Release justification: fix for new functionality

Release note: None
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 26, 2021

Canceled.

@otan
Copy link
Copy Markdown
Contributor Author

otan commented Aug 26, 2021

bors r=nvanbenschoten

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 26, 2021

Build succeeded:

@craig craig bot merged commit d0d0749 into cockroachdb:master Aug 26, 2021
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.

sql: version gate bounded staleness read functions

4 participants