-
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: connection closed on receiving a requeue timeout higher than the MaxReqTimeout #865
Comments
Hi @tsholmes — this is working as intended. Errors related to a client |
@mreiferson I'm going to have to disagree, for two reasons.
[1] https://github.com/nsqio/nsq/blob/master/nsqd/client_v2.go#L457-L459 |
Ahh, you're right! I misread the logs/description, sorry. You interested in opening a PR to fix? |
@mreiferson got one ready in #868 |
😍 thanks! Closing in favor of #868. |
Running on 0.3.8, however the same issue is on 1.0.0.
I believe the correct behavior here should be returning an error to the client, not killing the connection (
protocol.NewClientErr
vsprotocol.NewFatalClientErr
).nsq/nsqd/protocol_v2.go
Lines 715 to 718 in fc261f9
A snippet from logs scoped to one failing client:
The text was updated successfully, but these errors were encountered: