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

Fix:zk high memory bug #168

Merged
merged 2 commits into from
Aug 19, 2019
Merged

Conversation

hxmhlt
Copy link
Contributor

@hxmhlt hxmhlt commented Aug 19, 2019

What this PR does:
Fix zk high memory bug in event listener.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@AlexStocks AlexStocks changed the title Fix zk high memory bug Fix:zk high memory bug Aug 19, 2019
remoting/zookeeper/listener.go Outdated Show resolved Hide resolved
_, ok := l.pathMap[dubboPath]
l.pathMapLock.Unlock()
if ok {
logger.Warnf("@zkPath %s has already been listened.", zkPath)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls add a log prefix: "[listener]ZkEventListener]"

@pantianying
Copy link
Member

LGTM

@AlexStocks
Copy link
Contributor

LGTM

@AlexStocks AlexStocks merged commit 83b3b9c into apache:develop Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants