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

optimize: ConcurrentHashMap.newKeySet replace ConcurrentSet #3847

Merged
merged 45 commits into from
Jul 2, 2021
Merged

optimize: ConcurrentHashMap.newKeySet replace ConcurrentSet #3847

merged 45 commits into from
Jul 2, 2021

Conversation

lightClouds917
Copy link
Contributor

Ⅰ. Describe what this PR did

1.移除因set的使用在配置中心引入netty的强依赖关系;
2.ConcurrentSet will remove in Netty 4.2. need use {@link ConcurrentHashMap#newKeySet()} instead

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

lightClouds917 and others added 30 commits March 5, 2020 14:51
@codecov-commenter
Copy link

codecov-commenter commented Jul 2, 2021

Codecov Report

Merging #3847 (6ffb98e) into develop (dfb5e5d) will not change coverage.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #3847   +/-   ##
==========================================
  Coverage      40.67%   40.67%           
  Complexity      2991     2991           
==========================================
  Files            676      676           
  Lines          22614    22614           
  Branches        2808     2808           
==========================================
  Hits            9199     9199           
  Misses         12564    12564           
  Partials         851      851           
Impacted Files Coverage Δ
.../io/seata/server/storage/file/lock/FileLocker.java 0.00% <0.00%> (ø)
...c/main/java/io/seata/config/FileConfiguration.java 43.10% <100.00%> (ø)

Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

LGTM

@funky-eyes funky-eyes added this to the 1.5.0 milestone Jul 2, 2021
Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

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

LGTM

@slievrly slievrly merged commit e438c75 into apache:develop Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants