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

ddl: dynamically adjusting the concurrency and batch size of reorganization job #57468

Merged
merged 24 commits into from
Nov 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update pkg/ddl/backfilling.go
Co-authored-by: tangenta <tangenta@126.com>
fzzf678 and tangenta authored Nov 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit f34e39281995fa488723e7236da2d61741fff2dc
2 changes: 1 addition & 1 deletion pkg/ddl/backfilling.go
Original file line number Diff line number Diff line change
@@ -839,7 +839,7 @@ func executeAndClosePipeline(ctx *OperatorCtx, pipe *operator.AsyncPipeline, job
}

// Adjust worker pool size dynamically.
if job != nil && avgRowSize != 0 {
if job != nil {
go func() {
adjustWorkerPoolSize(ctx, pipe, job, avgRowSize)
}()