Skip to content

[doc] fix doc describes an error about Asynchronous Compaction#4377

Closed
herefree wants to merge 1 commit intoapache:masterfrom
herefree:fix-doc-compact-param
Closed

[doc] fix doc describes an error about Asynchronous Compaction#4377
herefree wants to merge 1 commit intoapache:masterfrom
herefree:fix-doc-compact-param

Conversation

@herefree
Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #4375

Tests

API and Format

Documentation

```shell
num-sorted-run.stop-trigger = 2147483647
sort-spill-threshold = 10
num-sorted-run.stop-trigger = 10
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.

I think:
If apply this config, the commit will be block by compaction when the number of sorted-run is 10.
Then writing throughput will decline.
May I ask why you made this modification?

num-sorted-run.stop-trigger = 2147483647
sort-spill-threshold = 10
num-sorted-run.stop-trigger = 10
sort-spill-threshold = 2147483647
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.

I think:
If apply this config, no sorted-run will be spill when compaction or mergeOnRead, maybe cause OOM.
May I ask why you made this modification?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sorry,I made a mistake.I'll close it.

@herefree herefree closed this Oct 25, 2024
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.

[Bug] The documentation describes an error about Asynchronous Compaction

2 participants