forked from nsqio/nsq
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nsqd: fix new topic channel lookup/creation
when an nsqd first sees a topic queries nsqlookupd to identify any channels that the cluster might know about in order to proactively create them (in the case where there is more than one channel this prevents data loss due to timing of consumers subscribing). in nsqio#176 a regression was introduced that prevent the topic's messagePump state from being updated in the code path described above. This meant that an nsqd that identified channels during creation of a topic would not begin writing those messages into its channels.
- Loading branch information
1 parent
d2cd54e
commit ee31e04
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters