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

release/v20.03 - Feat(Dgraph): Add separate compression flag for z and wal dirs (#6401) #6420

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

vmrajas
Copy link
Contributor

@vmrajas vmrajas commented Sep 8, 2020

Motivation
Currently, badger.compression_level flag is used to set compression level for Postings directory. Compression Level for WAL directory is set to None by default.
This PR adds functionality to set compression levels of each directory separately using a comma separated badger.compression_level flag.
Related discuss issue: https://discuss.dgraph.io/t/separate-dgraph-compression-level-config-for-p-and-w-directories/9938

Components affected by this PR:
Dgraph alpha

Does this PR break backwards compatibility?:
No

Fixes DGRAPH-2380
(cherry picked from commit 601cc3b)


This change is Reviewable

Docs Preview: Dgraph Preview

* Add separate compression flag for z and wal dirs

* Address comments

* Address comments

(cherry picked from commit 601cc3b)
@vmrajas vmrajas requested a review from a team September 8, 2020 12:16
@vmrajas vmrajas requested a review from manishrjain as a code owner September 8, 2020 12:16
Copy link
Contributor

@jarifibrahim jarifibrahim left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: 0 of 4 files reviewed, all discussions resolved (waiting on @manishrjain)

@vmrajas vmrajas merged commit 9936d74 into release/v20.03 Sep 18, 2020
@vmrajas vmrajas deleted the rajas/v20.03-separate-compression-flags branch September 18, 2020 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants