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

Write a tool to summarize w directory data #3300

Closed
danielmai opened this issue Apr 18, 2019 · 3 comments
Closed

Write a tool to summarize w directory data #3300

danielmai opened this issue Apr 18, 2019 · 3 comments
Assignees
Labels
area/tools Issues related to maintenance tools and CLI. kind/feature Something completely new we should consider.

Comments

@danielmai
Copy link
Contributor

When an Alpha restarts it replays entries from the write-ahead log in the w directory. We need to be able to inspect the entries in the w directory to understand what would be replayed. This should be a tool that works like dgraph debug and prints out for each WAL entry the type (e.g., a mutation, commit, etc.), the size of each entry, the total number of entries, and so on.

@danielmai danielmai added kind/feature Something completely new we should consider. area/tools Issues related to maintenance tools and CLI. labels Apr 18, 2019
@codexnull
Copy link
Contributor

Would it make sense to add that as a feature to dgraph debug rather that writing a new tool?

@manishrjain
Copy link
Contributor

Yes, in dgraph debug. I'm working on this.

@manishrjain manishrjain self-assigned this Apr 24, 2019
@manishrjain
Copy link
Contributor

Merged #3319 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tools Issues related to maintenance tools and CLI. kind/feature Something completely new we should consider.
Development

No branches or pull requests

3 participants