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

restore: uid lease is not restored as it was in the original cluster. #4816

Closed
danielmai opened this issue Feb 20, 2020 · 1 comment · Fixed by #4827
Closed

restore: uid lease is not restored as it was in the original cluster. #4816

danielmai opened this issue Feb 20, 2020 · 1 comment · Fixed by #4827
Labels
area/enterprise/backup Related to binary backups kind/bug Something is broken. status/accepted We accept to investigate/work on it.
Milestone

Comments

@danielmai
Copy link
Contributor

What version of Dgraph are you using?

v2.0.0-rc1

Have you tried reproducing the issue with the latest release?

No.

What is the hardware spec (RAM, OS)?

N/A

Steps to reproduce the issue (command/config used to run Dgraph).

  1. Run Dgraph cluster.
  2. Load data to set a UID lease.
  3. Run a backup.
  4. Run a new Dgraph cluster.
  5. Run dgraph restore to the new cluster.
  6. Check /state in the old and new clusters. the maxLeaseId field is not set in the new cluster.

Expected behaviour and actual result.

I expect the UID lease to be updated in the restored cluster so blank-node mutations start off from an unused range to create new nodes instead of updating existing nodes.

@danielmai danielmai added the area/enterprise/backup Related to binary backups label Feb 20, 2020
@sleto-it sleto-it added the status/accepted We accept to investigate/work on it. label Feb 20, 2020
@MichelDiz MichelDiz added the kind/bug Something is broken. label Feb 26, 2020
@sleto-it sleto-it added this to the 1.2.2 milestone Mar 3, 2020
@sleto-it
Copy link
Contributor

sleto-it commented Mar 3, 2020

Hi all,

This issue has been fixed and the fix will be available in v1.2.2 and in the next 2.0 patch release

Many Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/enterprise/backup Related to binary backups kind/bug Something is broken. status/accepted We accept to investigate/work on it.
Development

Successfully merging a pull request may close this issue.

3 participants