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

线程安全的获取meta #1866

Merged
merged 1 commit into from
Jun 18, 2019
Merged

线程安全的获取meta #1866

merged 1 commit into from
Jun 18, 2019

Conversation

lanxinxu
Copy link
Contributor

@lanxinxu lanxinxu commented Jun 5, 2019

并行解析模式下,可能会存在并发获取meta的情况,而该方法中的connection(更底层是socket)是非线程安全的。并行解析时,当meta过期等场景下会并发调用这个方法,存在线程安全问题

@moke110007
Copy link

V1.1.3也存在该问题

@agapple agapple merged commit 75b4911 into alibaba:master Jun 18, 2019
@agapple
Copy link
Member

agapple commented Jun 18, 2019

tks

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