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

nsqd: paused channel becomes unpaused when nsqd bounces #274

Merged
merged 1 commit into from
Oct 3, 2013

Conversation

mreiferson
Copy link
Member

We've seen in production an issue where we have a paused channel. If one of the nsqd processes in the cluster bounces, the channel on that particular node becomes unpaused and starts processing again. The other nodes remain paused.
nsq_jstats allingested___acunuworker-3

@mreiferson
Copy link
Member

For the record, we "fixed" this issue originally in #114.

My guess is that these nodes aren't exiting cleanly and that's a contributing factor. In 0.2.18, we only persisted topic/channel metadata on a clean exit, so when the node comes back online it doesn't think the channel should be paused.

Regardless, the fix is to explicitly persist metadata on channel pausing and unpausing.

@mreiferson
Copy link
Member

RFR @jehiah

jehiah added a commit that referenced this pull request Oct 3, 2013
nsqd: paused channel becomes unpaused when nsqd bounces
@jehiah jehiah merged commit 033684e into nsqio:master Oct 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants