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: fix topic.messageCount on error #1109

Merged
merged 1 commit into from
Dec 1, 2018

Conversation

SwanSpouse
Copy link

As the topic says, topic.messageCount may be less than actually when using topic.PutMessages to write message to backend occurs an error.

@mreiferson mreiferson changed the title nsqd fix topic.messageCount error #1108 nsqd: fix topic.messageCount on error Nov 30, 2018
nsqd/topic.go Outdated Show resolved Hide resolved
@mreiferson
Copy link
Member

@SwanSpouse thanks for this PR, just a minor comment!

@ploxiln
Copy link
Member

ploxiln commented Nov 30, 2018

Yup, good find!

@SwanSpouse SwanSpouse force-pushed the fix_topic_push_message_count branch from 15fcec3 to 43a84e6 Compare December 1, 2018 03:35
@mreiferson mreiferson merged commit ed26beb into nsqio:master Dec 1, 2018
@SwanSpouse SwanSpouse deleted the fix_topic_push_message_count branch December 1, 2018 04:34
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.

3 participants