Skip to content

kvserver,logstore: introduce log StateLoader#92335

Merged
craig[bot] merged 3 commits intocockroachdb:masterfrom
pav-kv:split_stateloader
Dec 1, 2022
Merged

kvserver,logstore: introduce log StateLoader#92335
craig[bot] merged 3 commits intocockroachdb:masterfrom
pav-kv:split_stateloader

Conversation

@pav-kv
Copy link
Copy Markdown
Collaborator

@pav-kv pav-kv commented Nov 22, 2022

Previously the StateLoader accessed both log and state machine state. This commit moves most of the log-specific accesstors to the logstore package.

Part of #91979
Release note: None

@pav-kv pav-kv requested a review from tbg November 22, 2022 15:31
@pav-kv pav-kv requested a review from a team as a code owner November 22, 2022 15:31
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Member

@tbg tbg left a comment

Choose a reason for hiding this comment

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

:lgtm:

Mind adding Epic: CRDB-220? Something must've changed about the linter, it used to ask for an epic. 220 is our sep raft log epic.

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

@erikgrinaker
Copy link
Copy Markdown
Contributor

Mind adding Epic: CRDB-220? Something must've changed about the linter, it used to ask for an epic. 220 is our sep raft log epic.

I think it checks if the linked issue has an epic link, and #91979 is indeed linked to CRDB-220 -- but I thought it only supported the usual issue keywords like "fixes".

@pav-kv
Copy link
Copy Markdown
Collaborator Author

pav-kv commented Nov 28, 2022

I think it checks if the linked issue has an epic link, and #91979 is indeed linked to CRDB-220 -- but I thought it only supported the usual issue keywords like "fixes".

"Part of" is supported, it was included recently. So yeah, it picks up the epic in the issue.

Previously the StateLoader accessed both log and state machine state. This
commit moves most of the log-specific accesstors to the logstore package.

Release note: None
@pav-kv pav-kv force-pushed the split_stateloader branch from 73a2d99 to e07488b Compare December 1, 2022 10:05
@pav-kv
Copy link
Copy Markdown
Collaborator Author

pav-kv commented Dec 1, 2022

bors r=tbg

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 1, 2022

Build failed:

@pav-kv
Copy link
Copy Markdown
Collaborator Author

pav-kv commented Dec 1, 2022

bors retry

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 1, 2022

Build succeeded:

@craig craig bot merged commit f8bf34c into cockroachdb:master Dec 1, 2022
@pav-kv pav-kv deleted the split_stateloader branch December 1, 2022 16:02
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