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

opt: add option to limit the max size of MANIFEST file #380

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

Alex-duzhichao
Copy link

MANIFEST file records the changelogs of compaction. After long time
running of leveldb, MANIFEST file keeps growing larger and larger,
casuing long time to replay MANIFEST file when reopening leveldb.

This commit adds an option MaxManifestFileSize to limit the max
size of MANIFEST file. The default value is 64 MiB.

MANIFEST file records the changelogs of compaction. After long time
running of leveldb, MANIFEST file keeps growing larger and larger,
casuing long time to replay MANIFEST file when reopening leveldb.

This commit adds an option `MaxManifestFileSize` to limit the max
size of MANIFEST file. The default value is 64 MiB.
@Alex-duzhichao
Copy link
Author

Alex-duzhichao commented Nov 4, 2021

Fix issue #378

@syndtr syndtr closed this in 3bda3a9 Jun 8, 2022
@syndtr syndtr merged commit 3bda3a9 into syndtr:master Jun 8, 2022
@syndtr
Copy link
Owner

syndtr commented Jun 8, 2022

Merged! Thanks @Alex-duzhichao.

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.

3 participants