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 micro-optimizations #176

Merged
merged 5 commits into from
Apr 29, 2013
Merged

nsqd micro-optimizations #176

merged 5 commits into from
Apr 29, 2013

Conversation

mreiferson
Copy link
Member

a few changes after doing some escape analysis and profiling

@mreiferson
Copy link
Member Author

think im RFR @jehiah 😄

@jehiah
Copy link
Member

jehiah commented Apr 28, 2013

LGTM.

jehiah added a commit that referenced this pull request Apr 29, 2013
@jehiah jehiah merged commit 64fd8b6 into nsqio:master Apr 29, 2013
mreiferson added a commit to mreiferson/nsq that referenced this pull request Jun 6, 2013
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.
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