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(flags): expand badger to accept all valid options #7677

Merged
merged 11 commits into from
Apr 6, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Apr 1, 2021

Makes --badger flag to accept all the valid badger options (except Logger & EncryptionKey). Additionally. it accepts input for "compression" with following values [none, snappy, zstd:].
Corresponding PRs in badger: dgraph-io/badger#1688, dgraph-io/badger#1689
It also renames goroutines subflag of --badger to numgoroutines. Also, it removes cache-size and cache-percentage subflag from --badger in bulk command.

Additionally, this also moves the max-retries under --limit.


This change is Reviewable

@NamanJain8 NamanJain8 marked this pull request as ready for review April 1, 2021 14:23
Base automatically changed from rohanprasad/add_cache_superflag to release/v21.03 April 1, 2021 17:22
@NamanJain8 NamanJain8 changed the title use badger superflag [BREAKING] feat(flags): expand badger to accept all valid options along with some special ones Apr 5, 2021
@NamanJain8 NamanJain8 changed the title [BREAKING] feat(flags): expand badger to accept all valid options along with some special ones [BREAKING] feat(flags): expand badger to accept all valid options Apr 5, 2021
go.sum Outdated Show resolved Hide resolved
ee/backup/run.go Outdated Show resolved Hide resolved
@NamanJain8 NamanJain8 merged commit 14c2b72 into release/v21.03 Apr 6, 2021
@NamanJain8 NamanJain8 deleted the naman/cache-flags branch April 6, 2021 06:51
NamanJain8 added a commit that referenced this pull request Apr 9, 2021
)

Makes --badger flag to accept all the valid badger options (except Logger & EncryptionKey). Additionally. it accepts input for "compression" with following values [none, snappy, zstd:<level>].
Corresponding PRs in badger: dgraph-io/badger#1688, dgraph-io/badger#1689
It also renames "goroutines" subflag of --badger to "numgoroutines". Also, it removes "cache-size" and "cache-percentage" subflag from --badger in bulk command.

Additionally, this also moves the max-retries under --limit.

(cherry picked from commit 14c2b72)
NamanJain8 added a commit that referenced this pull request Apr 9, 2021
)

Makes --badger flag to accept all the valid badger options (except Logger & EncryptionKey). Additionally. it accepts input for "compression" with following values [none, snappy, zstd:<level>].
Corresponding PRs in badger: dgraph-io/badger#1688, dgraph-io/badger#1689
It also renames "goroutines" subflag of --badger to "numgoroutines". Also, it removes "cache-size" and "cache-percentage" subflag from --badger in bulk command.

Additionally, this also moves the max-retries under --limit.

(cherry picked from commit 14c2b72)
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