Skip to content

Conversation

@lifeSo
Copy link
Collaborator

@lifeSo lifeSo commented Dec 17, 2023

What changes were proposed in this pull request?

Make the coordinator client managed by CoordinatorClientFactory singleton

Why are the changes needed?

Fix: #363

Does this PR introduce any user-facing change?

No.

How was this patch tested?

unit test .

@codecov-commenter
Copy link

codecov-commenter commented Dec 17, 2023

Codecov Report

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

Comparison is base (9bd5fd8) 53.24% compared to head (690786b) 54.10%.
Report is 7 commits behind head on master.

Files Patch % Lines
...niffle/client/impl/grpc/CoordinatorGrpcClient.java 0.00% 5 Missing ⚠️
...iffle/client/factory/CoordinatorClientFactory.java 0.00% 4 Missing ⚠️
...org/apache/spark/shuffle/RssSparkShuffleUtils.java 0.00% 3 Missing ⚠️
...he/uniffle/client/impl/ShuffleWriteClientImpl.java 33.33% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1377      +/-   ##
============================================
+ Coverage     53.24%   54.10%   +0.86%     
- Complexity     2716     2719       +3     
============================================
  Files           419      399      -20     
  Lines         23961    21633    -2328     
  Branches       2043     2050       +7     
============================================
- Hits          12757    11705    -1052     
+ Misses        10418     9209    -1209     
+ Partials        786      719      -67     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jerqi jerqi changed the title [#363] inprovement(server): Make the coordinator client managed by CoordinatorClientFactory singleton [#363] refactor(server): Make the coordinator client managed by CoordinatorClientFactory singleton Dec 18, 2023
@lifeSo
Copy link
Collaborator Author

lifeSo commented Dec 24, 2023

PTAL @jerqi @zuston

@jerqi jerqi requested a review from zuston December 24, 2023 14:35
Copy link
Member

@zuston zuston left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @lifeSo for your contribution

@zuston zuston merged commit 44fad8d into apache:master Dec 25, 2023
zuston pushed a commit to zuston/incubator-uniffle that referenced this pull request Dec 31, 2023
… by CoordinatorClientFactory singleton (apache#1377)

### What changes were proposed in this pull request?

Make the coordinator client managed by CoordinatorClientFactory singleton

### Why are the changes needed?

Fix: apache#363

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

unit test .
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.

[Improvement] Make the coordinator client managed by CoordinatorClientFactory singleton

3 participants