Skip to content

feat: configure replication count - #400

Merged
alanshaw merged 6 commits into
mainfrom
ash/feat/configure-replication-count
Apr 15, 2026
Merged

feat: configure replication count#400
alanshaw merged 6 commits into
mainfrom
ash/feat/configure-replication-count

Conversation

@alanshaw

Copy link
Copy Markdown
Member

Allows the replication count to be configured. It's a hidden flag, since we don't really want users to change this, it's mostly for testing where we might want/need to reduce it to 1.

Aside, we should probably allow a couple of the other preparation flags to be configured in TOML also.

@alanshaw
alanshaw requested a review from frrist April 10, 2026 03:42
Comment thread pkg/config/preparation.go Outdated

import "fmt"

type PreparationConfig struct {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not keen on the naming of this, as a user reading the config Preparation will throw me off. I think I'd prefer Upload or something along those lines, parallelism will likely eventually be included there too, later maybe even block_size and/or dag_type (balanced vs trickle). But this isn't a blocking comment, up to you.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes same. I will change to "upload".

@alanshaw
alanshaw merged commit 09611c7 into main Apr 15, 2026
2 checks passed
@alanshaw
alanshaw deleted the ash/feat/configure-replication-count branch April 15, 2026 10:41
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.

2 participants