-
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): consider the banned namespaces while bumping (#7839) #8559
Conversation
|
c06c19d
to
e08c643
Compare
e08c643
to
b942479
Compare
These cherry-picks for branches confuse me a bit. But maybe it's the safest way to avoid breaking something. Only I wonder if the CI is correct. If it is running the right context. It feels like it wasn't triggered here. |
Don't worry about that Michel, when we merge, we will merge to main. Feel free to review the change. |
b942479
to
e66d8ec
Compare
e66d8ec
to
69dac5f
Compare
355fd43
to
74f15c1
Compare
69dac5f
to
6008c41
Compare
74f15c1
to
3690034
Compare
6008c41
to
4e1118c
Compare
3690034
to
bb76697
Compare
4e1118c
to
6c16b0b
Compare
bb76697
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.
bb76697
to
3049796
Compare
|
@anurags92 in your scenario, when we do restore, we will observe the namespace 6 and we will bump up to the correct value for maxNamespace. Siddhesh is working on a test already. |
…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 <[email protected]>
…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 <[email protected]>
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