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

[BREAKING]: feat(alpha): Add compression flag #6616

Merged
merged 6 commits into from
Oct 5, 2020

Conversation

jarifibrahim
Copy link
Contributor

@jarifibrahim jarifibrahim commented Oct 1, 2020

This PR adds a --badger.compression flag to alpha which allows changing compression algorithm.

--badger.compression string         [none, zstd, snappy] Specifies the compression algorithm for the postings directory. (default "none")

This change is Reviewable

Docs Preview: Dgraph Preview

@jarifibrahim jarifibrahim changed the title feat(alpha): Add compression type flag feat(alpha): Add compression flag Oct 1, 2020
@manishrjain manishrjain changed the title feat(alpha): Add compression flag [BREAKING]: feat(alpha): Add compression flag Oct 5, 2020
@manishrjain manishrjain merged commit f6ddcbf into master Oct 5, 2020
@manishrjain manishrjain deleted the ibrahim/compression-switch branch October 5, 2020 18:19
danielmai added a commit that referenced this pull request Oct 10, 2020
Like #6616, add a --badger.compression flag to dgraph bulk which allows changing
the compression algorithm.

This changes the default from Zstd (level 1) to Snappy.

     $ dgraph bulk --help
     ...
     Flags:
     ...
            --badger.compression string        [none, zstd:level, snappy] Specifies the compression algorithm and the compressionlevel (if applicable) for the postings directory. none would disable compression, while zstd:1 would set zstd compression at level 1. (default "snappy")
danielmai added a commit that referenced this pull request Oct 12, 2020
…6697)

Like #6616, add a --badger.compression flag to dgraph bulk which allows changing
the compression algorithm.

This changes the default from Zstd (level 1) to Snappy.

     $ dgraph bulk --help
     ...
     Flags:
     ...
            --badger.compression string        [none, zstd:level, snappy] Specifies the compression algorithm and the compressionlevel (if applicable) for the postings directory. none would disable compression, while zstd:1 would set zstd compression at level 1. (default "snappy")
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.

3 participants