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/v1.2 - Feat(Dgraph): Add separate compression flag for z and wal dirs (#6401) #6419

Merged
merged 1 commit into from
Sep 22, 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:04
@vmrajas vmrajas changed the title releasev1.2 - Feat(Dgraph): Add separate compression flag for z and wal dirs (#6401) release/v1.2 - Feat(Dgraph): Add separate compression flag for z and wal dirs (#6401) Sep 8, 2020
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 08d1f06 into release/v1.2 Sep 22, 2020
@vmrajas vmrajas deleted the rajas/v1.2-separate-compression-flags branch September 22, 2020 05:15
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