-
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
feat(restore): add support for namespace aware restore #8968
Conversation
509529b
to
0f5f89e
Compare
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.
I don't see any code for moveTablet. How is this working?
9b780b5
to
83f03f3
Compare
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.
More todos:
- I do not like the API, oneNamespaceOnly flag. we need to think more.
- Uprgade tests will fail because of the change in cluster.go restore function. It should support both old and new API
- We should test against a fresh cluster when zero doesn't have any tablets
83f03f3
to
979facf
Compare
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.
We should consider having a completely new API for this.
af6b376
to
c10fcf0
Compare
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.
Looks pretty good now, only a few comments now.
3ec18c7
to
69e5ab4
Compare
This commit adds support for namespace aware restore. After this change, we can restore exactly one namespace from a backup of multiple namespaces into the namespace 0 of a dgraph cluster.
This commit adds support for namespace aware restore. After this change, we can restore exactly one namespace from a backup of multiple namespaces into a dgraph cluster.