Skip to content

Conversation

@zuston
Copy link
Member

@zuston zuston commented Jan 17, 2024

What changes were proposed in this pull request?

  1. Refactor DefaultFlushEventHandler to unify the logic of handling event
  2. Fix incorrect some metrics
  3. Support retry event into pending queue
  4. Fix the incorrect inFlushQueueSize
  5. Introduce the underlying executor queue metrics

Why are the changes needed?

Fix: #1459 #1460

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UTs

@zuston
Copy link
Member Author

zuston commented Jan 17, 2024

PTAL @jerqi @leixm @xianjingfeng

@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2024

Codecov Report

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

Comparison is base (e049a27) 54.19% compared to head (83658ce) 55.18%.
Report is 3 commits behind head on master.

Files Patch % Lines
...pache/uniffle/server/DefaultFlushEventHandler.java 75.92% 7 Missing and 6 partials ⚠️
...org/apache/uniffle/server/ShuffleFlushManager.java 64.00% 6 Missing and 3 partials ⚠️
...he/uniffle/server/flush/EventDiscardException.java 25.00% 6 Missing ⚠️
...he/uniffle/server/flush/EventInvalidException.java 25.00% 6 Missing ⚠️
...ache/uniffle/server/flush/EventRetryException.java 25.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1461      +/-   ##
============================================
+ Coverage     54.19%   55.18%   +0.99%     
- Complexity     2775     2776       +1     
============================================
  Files           423      406      -17     
  Lines         24204    21876    -2328     
  Branches       2060     2063       +3     
============================================
- Hits          13118    12073    -1045     
+ Misses        10275     9058    -1217     
+ Partials        811      745      -66     

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

@zuston zuston requested a review from xianjingfeng January 18, 2024 05:53
Copy link
Member

@xianjingfeng xianjingfeng left a comment

Choose a reason for hiding this comment

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

LGTM

@zuston zuston merged commit 31dae44 into apache:master Jan 18, 2024
@zuston
Copy link
Member Author

zuston commented Jan 18, 2024

Thanks for your review @xianjingfeng Merged.

@zuston zuston deleted the issue-1459 branch January 18, 2024 10:47
jerqi pushed a commit that referenced this pull request Apr 13, 2024
…nt is dropped (#1643)

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

Print an error log when an event is dropped.

### Why are the changes needed?

A follow-up PR for: #1461.
This way, it's easier to find error logs in the log, making it convenient for troubleshooting.

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

No.

### How was this patch tested?

Unnecessary.
zuston pushed a commit that referenced this pull request Apr 16, 2024
…#1648)

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

Fix the issue of log variable printing.

### Why are the changes needed?

A follow-up PR for: #1461.

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

No.

### How was this patch tested?

Unnecessary.
jerqi pushed a commit that referenced this pull request May 6, 2024
…nt is dropped (#1643)

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

Print an error log when an event is dropped.

### Why are the changes needed?

A follow-up PR for: #1461.
This way, it's easier to find error logs in the log, making it convenient for troubleshooting.

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

No.

### How was this patch tested?

Unnecessary.
zuston added a commit to zuston/incubator-uniffle that referenced this pull request May 27, 2024
…and support event retry into pending queue (apache#1461)

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

1. Refactor DefaultFlushEventHandler to unify the logic of handling event
2. Fix incorrect some metrics 
3. Support retry event into pending queue
4. Fix the incorrect inFlushQueueSize
5. Introduce the underlying executor queue metrics

### Why are the changes needed?

Fix: apache#1459 apache#1460 

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

No.

### How was this patch tested?

Existing UTs
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] Refactor DefaultFlushEventHandler and ShuffleFlushManager#flushToFile

3 participants