-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix(restore-test): Use separate map directory for each group in offline restore #8047
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ahsanbarkati and @manishrjain)
dgraph/cmd/debug/run.go, line 883 at r1 (raw file):
WithBlockCacheSize(1 << 30). WithIndexCacheSize(1 << 30). WithExternalMagic(opt.magic).
Is setting the ExternalMagic option needed in the debug tool now? This is just reading whatever the existing magic version is on disk, righT?
dgraph/cmd/debug/run.go, line 883 at r1 (raw file): Previously, danielmai (Daniel Mai) wrote…
Yeah. It is used for verification purposes only. |
Offline restore was using the same map directory for all the groups. This causes the same map files to get reduced in multiple groups.
This change is