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: explain our use of (*raftGroup).ReportSnapshot #87702

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

tbg
Copy link
Member

@tbg tbg commented Sep 9, 2022

Closes #87581.

Release note: None

@tbg tbg requested a review from a team as a code owner September 9, 2022 14:13
@tbg tbg requested a review from andrewbaptist September 9, 2022 14:13
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg tbg force-pushed the raft-snap-comment branch from e84dea2 to b34ef27 Compare September 9, 2022 14:14
@tbg
Copy link
Member Author

tbg commented Sep 9, 2022

PS happy to accept extra commits to this PR with gh pr checkout 87702; <do stuff and commit>; git push, that's easier than funneling tweaks through comments.

Copy link
Collaborator

@andrewbaptist andrewbaptist left a comment

Choose a reason for hiding this comment

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

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

@tbg
Copy link
Member Author

tbg commented Sep 9, 2022

bors r=andrewbaptist
TFTR!

@craig
Copy link
Contributor

craig bot commented Sep 9, 2022

Build succeeded:

@craig craig bot merged commit be989ac into cockroachdb:master Sep 9, 2022
tbg added a commit to tbg/cockroach that referenced this pull request Sep 19, 2022
Suggested by Nathan[^1].

[^1]: cockroachdb#87702 (comment)

Release note: None
@tbg tbg deleted the raft-snap-comment branch September 19, 2022 15:32
craig bot pushed a commit that referenced this pull request Sep 19, 2022
88129: opt: copy ColSet in CreateLocalityOptimizedLookupJoinPrivateIncludingCols r=mgartner a=mgartner

`CreateLocalityOptimizedLookupJoinPrivateIncludingCols` was mutating a
`opt.ColSet` field of another `LookupJoinPrivate` because it was calling
`ColSet.UnionWith` without copying the `ColSet` first. This commit fixes
the bug.

Fixes #88126

Release note: None


88130: changefeedccl: avoid concurrent map access r=[miretskiy] a=HonoreDB

go 1.18 introduced more stringent checks for unsafe concurrent map use, surfacing some new and exciting panics in changefeed code.

When backported, fixes #87939
When backported, fixes #88089
When backported, fixes #87899

Release note (bug fix): Fixed crashes in changefeed code when running on recent go versions.

88134: kvserver: tweak a comment about raft snaps r=nvanbenschoten a=tbg

Suggested by Nathan[^1].

[^1]: #87702 (comment)

Release note: None


Co-authored-by: Marcus Gartner <[email protected]>
Co-authored-by: Aaron Zinger <[email protected]>
Co-authored-by: Tobias Grieger <[email protected]>
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.

kvserver: delegated snapshots must carry a min index
4 participants