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

Add flag to disable DAS chunked stores #2796

Merged
merged 12 commits into from
Dec 30, 2024

Conversation

ganeshvanahalli
Copy link
Contributor

@ganeshvanahalli ganeshvanahalli commented Nov 19, 2024

This PR adds a config option- use-legacy-store that forces the das rpc clients to use das_store (legacy) instead of das_startChunkedStore.

Resolves NIT-2949

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Nov 19, 2024
@ganeshvanahalli ganeshvanahalli marked this pull request as ready for review November 19, 2024 13:01
Copy link
Member

@Tristan-Wilson Tristan-Wilson left a comment

Choose a reason for hiding this comment

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

Looks good once Gabriel's comments are addressed.

@joshuacolvin0 joshuacolvin0 dismissed Tristan-Wilson’s stale review December 11, 2024 21:34

Gabriel already re-reviewed

@@ -92,6 +92,7 @@ type ClientStoreConfig struct {
SigningWallet string `koanf:"signing-wallet"`
SigningWalletPassword string `koanf:"signing-wallet-password"`
MaxStoreChunkBodySize int `koanf:"max-store-chunk-body-size"`
EnableChunkedStore bool `koanf:"enable-chunked-store"`
Copy link
Member

Choose a reason for hiding this comment

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

It is a little confusing having to do enable-chunked-store=false, how about changing the option to disable-chunked-store?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Earlier it was named to disable-chunked-store but following a discussion with gabriel to avoid boolean flags with negative assertions here i changed it to enable-chunked-store

Copy link
Contributor

Choose a reason for hiding this comment

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

This is a recurring theme, and, in general, I prefer flags/bools to be worded in a positive sense. I think @eljobe was the first one to bring this up.

Copy link
Collaborator

@tsahee tsahee left a comment

Choose a reason for hiding this comment

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

LGTM

@ganeshvanahalli ganeshvanahalli merged commit 7bb6242 into master Dec 30, 2024
16 checks passed
@ganeshvanahalli ganeshvanahalli deleted the addflag-disable-daschunkedstore branch December 30, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design-approved s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants