Skip to content

feat(ingestor): raise default max_concurrent_workers from 1 to 2 - #19133

Merged
yuzhichang merged 1 commit into
infiniflow:mainfrom
jay77721:worktree-worker-count-2
Sep 2, 2026
Merged

yuzhichang merged 1 commit into
infiniflow:mainfrom
jay77721:worktree-worker-count-2

Conversation

@jay77721

@jay77721 jay77721 commented Sep 2, 2026

Copy link
Copy Markdown
Member

Summary

Raise the ingestor's default max_concurrent_workers from 1 to 2 so a single ingestor process runs ingestion tasks with more parallelism out of the box.

Changes

  • conf/service_conf.yaml: ingestor.max_concurrent_workers: 1 -> 2
  • docker/service_conf.yaml.template: same change for the Docker template
  • internal/server/config/ingestor_config.go: code default in ParseIngestorConfig bumped to match

Notes

go build ./internal/server/config/... passes. This changes the shipped default; operators who pinned max_concurrent_workers: 1 explicitly are unaffected.

@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 19e1f2ca-b7b6-4740-a641-b96748ad7ee9

📥 Commits

Reviewing files that changed from the base of the PR and between 1a63251 and ae18658.

📒 Files selected for processing (3)
  • conf/service_conf.yaml
  • docker/service_conf.yaml.template
  • internal/server/config/ingestor_config.go

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The ingestor default maximum concurrent worker count increases from 1 to 2 in the service configuration, Docker template, and Go configuration parser.

Changes

Ingestor worker defaults

Layer / File(s) Summary
Synchronize ingestor worker defaults
conf/service_conf.yaml, docker/service_conf.yaml.template, internal/server/config/ingestor_config.go
The default max_concurrent_workers value changes from 1 to 2 across runtime configuration, the Docker template, and the Go parser.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Merge Risk: ⚪ Minimal · up to ae186

The default increases per-process ingestion parallelism from one worker to two for deployments that omit the setting; operators can explicitly retain one worker, and no actionable merge-blocking risk remains beyond normal checks and review.

Suggested reviewers: jinhai-cn, yuzhichang

Poem

A rabbit reads each line,
The patch grows clear beneath the moon,
Small changes hop in place,
Tests guard the garden path,
Reviews bloom before the dawn.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the primary change: increasing the ingestor default for max_concurrent_workers from 1 to 2.
Description check ✅ Passed The description includes the required Summary section and clearly explains the purpose, affected files, validation, and operator impact.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (2 skipped: 2 unsupported.)


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jay77721 jay77721 added ci Continue Integration size:L This PR changes 100-499 lines, ignoring generated files. go Pull requests that update go code labels Sep 2, 2026
@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.03%. Comparing base (5f566b6) to head (ae18658).
⚠️ Report is 49 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19133      +/-   ##
==========================================
- Coverage   39.13%   39.03%   -0.11%     
==========================================
  Files          54       54              
  Lines       14913    14947      +34     
  Branches      118      118              
==========================================
- Hits         5836     5834       -2     
- Misses       9051     9087      +36     
  Partials       26       26              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yuzhichang yuzhichang removed the ci Continue Integration label Sep 2, 2026
@yuzhichang
yuzhichang merged commit de99c75 into infiniflow:main Sep 2, 2026
14 checks passed
@jay77721
jay77721 deleted the worktree-worker-count-2 branch September 17, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update go code size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants