Skip to content

CBG-5457 Use 64 partitions for resync by default#8357

Open
adamcfraser wants to merge 1 commit into
mainfrom
CBG-5457
Open

CBG-5457 Use 64 partitions for resync by default#8357
adamcfraser wants to merge 1 commit into
mainfrom
CBG-5457

Conversation

@adamcfraser

Copy link
Copy Markdown
Collaborator

Copilot AI review requested due to automatic review settings June 12, 2026 05:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment on lines +33 to +34
const DefaultResyncPartitions = 64

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is an unsupported feature so this is very minor.

Comment on lines 416 to 422
var partitionCount uint16
if db.Options.UnsupportedOptions != nil && db.Options.UnsupportedOptions.ResyncPartitions != nil && *db.Options.UnsupportedOptions.ResyncPartitions > 0 {
partitionCount = *db.Options.UnsupportedOptions.ResyncPartitions
} else {
partitionCount = db.Options.ImportOptions.ImportPartitions
partitionCount = DefaultResyncPartitions
}
base.DebugfCtx(ctx, base.KeyAll, "Using %d partitions for resync", partitionCount)
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