Skip to content

fix(restore): consider the banned namespaces while bumping #7839

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

Merged
merged 1 commit into from
May 20, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented May 20, 2021

We were not considering the banned namespaces while bumping the lease. So, if we restore a backup with namespace 0,1,2 not-banned and 3,4 banned. We will bump only up to 2. This would error out when creating a namespace.


This change is Reviewable

@NamanJain8 NamanJain8 force-pushed the naman/restore-nsid branch from c8563b0 to e5f3476 Compare May 20, 2021 05:13
@NamanJain8 NamanJain8 changed the title fix(restore): don't ban namespace while restoring fix(restore): consider the banned namespaces while bumping May 20, 2021
@NamanJain8 NamanJain8 merged commit 391f8b0 into release/v21.03-slash May 20, 2021
@NamanJain8 NamanJain8 deleted the naman/restore-nsid branch May 20, 2021 06:19
NamanJain8 added a commit that referenced this pull request May 24, 2021
We were not considering the banned namespaces while bumping the lease. So, if we restore a backup with namespace 0,1,2 not-banned and 3,4 banned. We will bump only up to 2. This would error out when creating a namespace.

(cherry picked from commit 391f8b0)
mangalaman93 pushed a commit that referenced this pull request Jan 4, 2023
We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating
a namespace.
mangalaman93 pushed a commit that referenced this pull request Jan 4, 2023
We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating
a namespace.
mangalaman93 pushed a commit that referenced this pull request Jan 4, 2023
We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating
a namespace.
mangalaman93 pushed a commit that referenced this pull request Jan 6, 2023
We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating
a namespace.
mangalaman93 pushed a commit that referenced this pull request Jan 17, 2023
We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating
a namespace.
mangalaman93 pushed a commit that referenced this pull request Jan 18, 2023
We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating
a namespace.
mangalaman93 pushed a commit that referenced this pull request Jan 20, 2023
We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating
a namespace.
mangalaman93 pushed a commit that referenced this pull request Jan 24, 2023
We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating
a namespace.
all-seeing-code pushed a commit that referenced this pull request Jan 25, 2023
…8559)

We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating a
namespace

Co-authored-by: Naman Jain <naman@dgraph.io>
all-seeing-code pushed a commit that referenced this pull request Feb 8, 2023
…8559)

We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating a
namespace

Co-authored-by: Naman Jain <naman@dgraph.io>
all-seeing-code pushed a commit that referenced this pull request Feb 8, 2023
…8559)

We were not considering the banned namespaces while bumping the lease.
So, if we restore a backup with namespace 0,1,2 not-banned and 3,4
banned. We will bump only up to 2. This would error out when creating a
namespace

Co-authored-by: Naman Jain <naman@dgraph.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants