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

feat(debug): Support rollup in debug tool #7066

Merged
merged 5 commits into from
Dec 4, 2020
Merged

Conversation

jarifibrahim
Copy link
Contributor

@jarifibrahim jarifibrahim commented Dec 4, 2020

Add --rollup flag in debug tool which allows key rollup.


This change is Reviewable

@jarifibrahim jarifibrahim changed the title Ibrahim/debug rollup feat(debug): Support rollup in debug tool Dec 4, 2020
@netlify
Copy link

netlify bot commented Dec 4, 2020

Deploy preview for dgraph-docs ready!

Built with commit 62d8630

https://deploy-preview-7066--dgraph-docs.netlify.app

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.

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @jarifibrahim and @vvbalaji-dgraph)


dgraph/cmd/debug/run.go, line 453 at r1 (raw file):

	iopts.AllVersions = true
	iopts.PrefetchValues = false
	itr := txn.NewIterator(iopts)

NewKeyIterator.


dgraph/cmd/debug/run.go, line 463 at r1 (raw file):

	}

	item := itr.Item()

if the first item is not bitDelta, then no need to do anything.

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.

:lgtm:

Reviewed 1 of 1 files at r2.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @jarifibrahim and @vvbalaji-dgraph)

@jarifibrahim jarifibrahim merged commit 95e078a into master Dec 4, 2020
@jarifibrahim jarifibrahim deleted the ibrahim/debug-rollup branch December 4, 2020 20:03
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