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: zk push empty protect #6206

Open
wants to merge 4 commits into
base: 2.x
Choose a base branch
from

Conversation

laywin
Copy link
Contributor

@laywin laywin commented Dec 25, 2023

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

#6162

Ⅱ. Does this pull request fix one issue?

fixes #6162

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

* @param clusterName cluserName
*/
private boolean isCurrentCluster(String clusterName) {
String txServiceGroupName = ConfigurationFactory.getInstance()
Copy link
Contributor

Choose a reason for hiding this comment

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

如果使用的是seata-all,这个配置很有可能读不到,比如以下写法:
If you are using seata-all, this configuration is likely to be unreadable, such as the following:
new GlobalTransactionScanner("test", "group_a", failureHandler);

@codecov-commenter
Copy link

codecov-commenter commented Dec 25, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (d2dbbff) 48.98% compared to head (63705fc) 49.02%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #6206      +/-   ##
============================================
+ Coverage     48.98%   49.02%   +0.04%     
- Complexity     4779     4785       +6     
============================================
  Files           915      915              
  Lines         31896    31909      +13     
  Branches       3855     3856       +1     
============================================
+ Hits          15624    15644      +20     
+ Misses        14710    14705       -5     
+ Partials       1562     1560       -2     
Files Coverage Δ
...very/registry/zk/ZookeeperRegisterServiceImpl.java 67.33% <75.00%> (+5.28%) ⬆️

... and 3 files with indirect coverage changes

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.

issue of zk push-empty protection
4 participants