-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
nsqd: bump go-options / log when we can't get channels for pre-creation #831
Conversation
3567a97
to
473cd44
Compare
73ae1a0
to
d347459
Compare
RFR @jehiah |
channelNames, _ := n.ci.GetLookupdTopicChannels(t.name, lookupdHTTPAddrs) | ||
channelNames, err := n.ci.GetLookupdTopicChannels(t.name, lookupdHTTPAddrs) | ||
if err != nil { | ||
n.logf("ERROR: failed to get channels for pre-creation for topic %s - %s", t.name, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically we failed to query all lookupd's so we don't know if the result is deficient in any way. We may have still gotten channels for pre-creation from available lookupd's. Rephrase this and/or make different error messages based on channelNames
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point, will update 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how's this?
d347459
to
da67962
Compare
da67962
to
7a485a5
Compare
Addresses proposal (1) and (2) of #826