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 some config #4310

Merged
merged 3 commits into from Jun 14, 2022
Merged

add some config #4310

merged 3 commits into from Jun 14, 2022

Conversation

critical27
Copy link
Contributor

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

close #4246

Description:

Add some configs into configuration files which are commonly used.

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

Checklist:

Tests:

  • Unit test(positive and negative cases)
  • Function test
  • Performance test
  • N/A

Affects:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatibility (If it breaks the compatibility, please describe it and add the label.)
  • If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Note sure if all these newly added configs are in doc.

Release notes:

Please confirm whether to be reflected in release notes and how to describe:

ex. Fixed the bug .....

@critical27 critical27 added ready-for-testing PR: ready for the CI test ready for review labels Jun 9, 2022
@critical27 critical27 requested a review from HarrisChu June 9, 2022 01:35
@critical27 critical27 requested a review from a team as a code owner June 9, 2022 01:35
# Network IO threads number, 0 means physical cpu core num
--num_netio_threads=0
# Worker threads number to handle request, 0 means physical cpu core num
--num_worker_threads=0
Copy link
Contributor

Choose a reason for hiding this comment

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

We have these two config on line 62-65

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👌

@Sophie-Xie Sophie-Xie added this to the v3.2.0 milestone Jun 9, 2022
Copy link
Contributor

@wenhaocs wenhaocs left a comment

Choose a reason for hiding this comment

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

Overall LGTM on storage part. What was the reason for snapshot_part_rate_limit, snapshot_batch_size ... appearing only in production config not default config before?

--num_io_threads=16
# Worker threads number to handle request
--num_worker_threads=32
# Maximum subtasks to run concurrently
Copy link
Contributor

Choose a reason for hiding this comment

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

be more precise "... for admin jobs"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👌

@Sophie-Xie
Copy link
Contributor

Will we change it in Open Source edition, or just in Enterprise edition? cc @xiajingchun

@Sophie-Xie Sophie-Xie merged commit 42718e5 into vesoft-inc:master Jun 14, 2022
@Sophie-Xie Sophie-Xie added cherry-pick-v3.0 PR: need cherry-pick to this version cherry-pick-v3.1 PR: need cherry-pick to this version and removed cherry-pick-v3.0 PR: need cherry-pick to this version cherry-pick-v3.1 PR: need cherry-pick to this version labels Jun 14, 2022
@Sophie-Xie Sophie-Xie added the doc affected PR: improvements or additions to documentation label Jun 20, 2022
@abby-cyber abby-cyber self-assigned this Jun 20, 2022
@critical27 critical27 deleted the config branch June 30, 2022 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc affected PR: improvements or additions to documentation ready for review ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

enhance default value in configuration
6 participants