Skip to content

fix(restore): Handle MaxUid=0 appropriately#7258

Merged
jarifibrahim merged 1 commit intomasterfrom
ibrahim/restore-uid
Jan 8, 2021
Merged

fix(restore): Handle MaxUid=0 appropriately#7258
jarifibrahim merged 1 commit intomasterfrom
ibrahim/restore-uid

Conversation

@jarifibrahim
Copy link
Copy Markdown
Contributor

@jarifibrahim jarifibrahim commented Jan 7, 2021

At the end of the restore operation, we update the MaxUid in zero. This
MaxUid can be zero if the backup was created from an empty DB.

Fixes DGRAPH-2804


This change is Reviewable

At the end of the restore operation we update the MaxUid in zero. This
MaxUid can be zero if the backup was created from an empty DB.
@github-actions github-actions Bot added the area/enterprise Related to proprietary features label Jan 7, 2021
Copy link
Copy Markdown
Contributor

@NamanJain8 NamanJain8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a harmless good to have change. LGTM

@jarifibrahim jarifibrahim merged commit b05fb93 into master Jan 8, 2021
@jarifibrahim jarifibrahim deleted the ibrahim/restore-uid branch January 8, 2021 14:08
jarifibrahim pushed a commit that referenced this pull request Jan 8, 2021
At the end of the restore operation we update the MaxUid in zero. This
MaxUid can be zero if the backup was created from an empty DB.

(cherry picked from commit b05fb93)
jarifibrahim pushed a commit that referenced this pull request Jan 11, 2021
At the end of the restore operation we update the MaxUid in zero. This
MaxUid can be zero if the backup was created from an empty DB.

(cherry picked from commit b05fb93)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/enterprise Related to proprietary features

Development

Successfully merging this pull request may close these issues.

2 participants