Skip to content

[#363] refactor(server): Make the coordinator client managed by CoordinatorClientFactory singleton - #1377

Merged
zuston merged 31 commits into
apache:masterfrom
lifeSo:master
Dec 25, 2023
Merged

[#363] refactor(server): Make the coordinator client managed by CoordinatorClientFactory singleton#1377
zuston merged 31 commits into
apache:masterfrom
lifeSo:master

Conversation

@lifeSo

@lifeSo lifeSo commented Dec 17, 2023

Copy link
Copy Markdown
Contributor

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

codecov-commenter commented Dec 17, 2023

Copy link
Copy Markdown

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.

@roryqi roryqi 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

lifeSo commented Dec 24, 2023

Copy link
Copy Markdown
Contributor Author

PTAL @jerqi @zuston

@roryqi
roryqi requested a review from zuston December 24, 2023 14:35

@zuston zuston left a comment

Copy link
Copy Markdown
Member

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