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

doc: add missing parameters and reorganize existing parameters in compact settings #4355

Merged

Conversation

thetumbled
Copy link
Contributor

@thetumbled thetumbled commented May 9, 2024

Motivation

The current configuration documentation for BookKeeper lacks some important parameters. Additionally, existing parameters are not optimally organized. This update:

  • Introduces missing parameters like isThrottleByBytes, compactionRateByEntries, and compactionRateByBytes.
  • Reorganizes the configuration parameters for better clarity.

Changes

  • Added: New parameters that were missing in the configuration:

    • compactionRateByEntries: Set the rate at which compaction will read entries, measured in entries per second.
    • compactionRateByBytes: Set the rate at which compaction will read entries, measured in bytes per second.
  • Reorganized: Adjusted the placement of existing parameters for better logical grouping and readability:

    • minorCompactionThreshold: Adjusted position for clarity.
    • minorCompactionInterval: Moved for logical grouping.

@thetumbled thetumbled force-pushed the Add_descriptionForCompactionMaxTimeMillis branch from 0affae5 to 04c5985 Compare May 9, 2024 09:49
@thetumbled
Copy link
Contributor Author

PTAL, thanks. @shoothzj @wenbingshen @eolivelli @dlg99

@thetumbled
Copy link
Contributor Author

These conf are introduced in #2670, which was released in 4.14.0. So we have better add the description back into the config.md till 4.14.0. PTAL, thanks! @shoothzj

Signed-off-by: ZhangJian He <shoothzj@gmail.com>
@shoothzj shoothzj changed the title add CompactionMaxTimeMillis in config.md doc: add missing parameters and reorganize existing parameters in compact settings May 10, 2024
@shoothzj
Copy link
Member

I reorganize the configuration parameters for better clarity

@shoothzj shoothzj merged commit 4ed58ab into apache:master May 10, 2024
23 checks passed
@shoothzj
Copy link
Member

@thetumbled could you please also update the upgrade doc? see #4348

@thetumbled
Copy link
Contributor Author

@thetumbled could you please also update the upgrade doc? see #4348

I create #4358 to update the upgrade doc, PTAL, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants