Skip to content

kvserver: cleanup store.go to remove functions exposed because cfg was private#59265

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
lunevalex:alex/cleanup-store-config
Jan 28, 2021
Merged

kvserver: cleanup store.go to remove functions exposed because cfg was private#59265
craig[bot] merged 1 commit intocockroachdb:masterfrom
lunevalex:alex/cleanup-store-config

Conversation

@lunevalex
Copy link
Copy Markdown

A lot of tests required things from StoreConfig, which was previously
private on the Store. Now that #59059 exposed the StoreConfig,
we can clean up some of this and remove the extra getters added
to extract things from the config for example NodeLiveness, Raft settings etc.

Release note: None

…s private

A lot of tests required things from StoreConfig, which was previously
private on the Store. Now that cockroachdb#59059 exposed the StoreConfig,
we can clean up some of this and remove the extra getters added
to extract things from the config for example NodeLiveness, Raft settings etc.

Release note: None
@lunevalex lunevalex requested a review from tbg January 21, 2021 22:10
@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.

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@lunevalex
Copy link
Copy Markdown
Author

TFTR!

bors r=tbg

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 28, 2021

Build succeeded:

@craig craig bot merged commit eddbc07 into cockroachdb:master Jan 28, 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.

3 participants