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

实现全局锁在 zookeeper下的持久化, 完善 ZookeeperRepository 的相关方法, 并编写相关测试用例 #362

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

zkyoma
Copy link
Contributor

@zkyoma zkyoma commented Aug 10, 2023

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

for issue #361

@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2023

Codecov Report

Merging #362 (369a956) into master (339313e) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is 0.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@          Coverage Diff           @@
##           master    #362   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         442     443    +1     
  Lines        8621    8681   +60     
  Branches     1417    1428   +11     
======================================
- Misses       8621    8681   +60     
Files Changed Coverage Δ
...mara/hmily/repository/spi/HmilyRepositoryNode.java 0.00% <0.00%> (ø)
...dromara/hmily/repository/spi/entity/HmilyLock.java 0.00% <ø> (ø)
...mily/repository/zookeeper/ZookeeperRepository.java 0.00% <0.00%> (ø)

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -62,11 +62,11 @@
public class ZookeeperRepository implements HmilyRepository {

private static final Logger LOGGER = LoggerFactory.getLogger(ZookeeperRepository.class);

Copy link
Contributor

Choose a reason for hiding this comment

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

在idea添加设置,空行也要缩进

@@ -29,7 +28,6 @@
* @author xiaoyu
*/
@Getter
@RequiredArgsConstructor
Copy link
Contributor

Choose a reason for hiding this comment

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

这里为什么要去掉lombok自动生成构造函数,而自己去写

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已修改

@cherrylzhao cherrylzhao merged commit cf4f994 into dromara:master Aug 25, 2023
1 check passed
@zkyoma zkyoma deleted the 361 branch August 25, 2023 03:46
cherrylzhao pushed a commit that referenced this pull request Oct 24, 2023
* 实现全局锁在 zookeeper下的持久化, 完善 ZookeeperRepository 的相关方法, 并编写相关测试用例

* HmilyLock类构造方法使用lombok注解@AllArgsConstructor
cherrylzhao pushed a commit that referenced this pull request Oct 24, 2023
* 实现全局锁在 zookeeper下的持久化, 完善 ZookeeperRepository 的相关方法, 并编写相关测试用例

* HmilyLock类构造方法使用lombok注解@AllArgsConstructor
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