Skip to content

kvserver: initialize propBuf LAI tracking#60626

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:small.prop-buf-init-lai
Feb 18, 2021
Merged

kvserver: initialize propBuf LAI tracking#60626
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:small.prop-buf-init-lai

Conversation

@andreimatei
Copy link
Copy Markdown
Contributor

The initialization of the LAI tracking in the proposal buffer seems
pretty lacking (see #60625). This patch adds initialization of
propBuf.liBase at propBuf.Init() time, which is irrelevant for
production, but will help future tests which will surely want the
a propBuf's first assigned LAIs to have some relationship to the replica
state.

Release note: None

The initialization of the LAI tracking in the proposal buffer seems
pretty lacking (see cockroachdb#60625). This patch adds initialization of
propBuf.liBase at propBuf.Init() time, which is irrelevant for
production, but will help future tests which will surely want the
a propBuf's first assigned LAIs to have some relationship to the replica
state.

Release note: None
@andreimatei andreimatei requested a review from nvb February 16, 2021 20:27
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@andreimatei
Copy link
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 18, 2021

Build succeeded:

@craig craig bot merged commit 80dd7d0 into cockroachdb:master Feb 18, 2021
@andreimatei andreimatei deleted the small.prop-buf-init-lai branch January 20, 2022 16:26
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