Skip to content

Conversation

@ashish-goswami
Copy link
Contributor

@ashish-goswami ashish-goswami commented Sep 16, 2019

Fixes #1025


This change is Reviewable

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✅ A review job has been created and sent to the PullRequest network.


@ashish-goswami you can click here to see the review status or cancel the code review job.

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 but we'll also need to add truncate flag also. We can add it to the same PR or create a new one.

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

Good refactoring to leverage this feature more widely.

Only minor thing to consider is that if there are going to be more options, consider having the descriptions defined in a constant file instead of having them spill over lines and having to be concatenated manually.


Reviewed with ❤️ by PullRequest

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:

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

@danielmai danielmai changed the title Add read-only option in info tool Add read-only and truncate options in info tool Sep 17, 2019
Copy link
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

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

This should be merged. It's a small enough change that @jarifibrahim 's LGTM should be sufficient.

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@ashish-goswami ashish-goswami merged commit ef1e8e4 into master Sep 19, 2019
@ashish-goswami ashish-goswami deleted the ashish/info-readonly branch September 19, 2019 09:22
jarifibrahim pushed a commit that referenced this pull request Mar 12, 2020
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.

badger info: Add flag to open DB in read-write / truncate mode

4 participants