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

node: remove namespace manager Ready() panic #1293

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Conversation

brennanjl
Copy link
Collaborator

Removes panic on namespace manager

@@ -55,8 +55,7 @@ func (n *namespaceManager) Filter(ns string) bool {
defer n.mu.RUnlock()

if !n.ready {
// this would indicate a bug in our startup process
panic("namespace manager not ready")
return false
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we need this ready field or Ready() method anymore right?

Copy link
Collaborator Author

@brennanjl brennanjl Jan 24, 2025

Choose a reason for hiding this comment

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

Yeah we should keep them, because we do not want to return info or kwild_engine as snapshottable schemas if they do not exist

@brennanjl
Copy link
Collaborator Author

Can you approve so I can run main @charithabandi ?

@charithabandi charithabandi merged commit d14c5be into main Jan 24, 2025
2 checks passed
@charithabandi charithabandi deleted the remove-ready branch January 24, 2025 18:16
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.

2 participants