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

HDDS-6047. [Ozone-Streaming] Support merge chunkInfos in client. #2870

Closed
wants to merge 1 commit into from

Conversation

captainzmc
Copy link
Member

What changes were proposed in this pull request?

The chunk size of the streaming is usually smaller than 4MB, we suggest set to 512KB for better performance. In this case, files of the same size will generate more chunkInfo than async write, which increases the size of container DB. So we recommend add merge on the client side. The default value is 0, means merge is not enabled. If the value is 8, it means that every 8 chunkInfo will be merged to one.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-6047

How was this patch tested?

UT added.

@guohao-rosicky
Copy link
Contributor

This is useful and saves rocksdb a lot of space in the Container

@captainzmc captainzmc closed this Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants