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

sqld: temp fix replica namespace doesnt exist #1770

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

LucioFranco
Copy link
Contributor

there is a bug where a primary will report that a valid
namespace doesn't exist when it does and causes the replicate to
destroy the namespace locally. For now the temp solution is to
ignore this error (still log it) and don't destroy the local
namespace data on the replica. This trades off storage space for
returing 500s.

@penberg
Copy link
Collaborator

penberg commented Oct 4, 2024

@haaawk @LucioFranco Please make sure there is an issue about the root cause bug too so we remember to fix it.

@haaawk
Copy link
Contributor

haaawk commented Oct 4, 2024

#1772

@haaawk
Copy link
Contributor

haaawk commented Oct 4, 2024

I was hoping we could fix the root issue on the primary but this is a good start to mitigate the problem

@MarinPostma
Copy link
Contributor

Maybe we should let the control plane eagerly create namespaces on replicas. That would make stuff easier for sqld

@LucioFranco LucioFranco added this pull request to the merge queue Oct 4, 2024
Merged via the queue into main with commit 7a97d48 Oct 4, 2024
18 checks passed
@LucioFranco LucioFranco deleted the lucio/temp-fix-ns-not-exist-replica branch October 4, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants