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

[fix][broker] Catch exception for entry payload interceptor processor #23683

Merged

Conversation

gaoran10
Copy link
Contributor

@gaoran10 gaoran10 commented Dec 5, 2024

Motivation

Currently, the entry payload interceptor processor doesn't catch exceptions, the exception will be swallowed by the executor task.

Modifications

Catch exception for entry payload interceptor processor.

Verifying this change

Add a test for catching exceptions from the payload input interceptor processor.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@gaoran10 gaoran10 self-assigned this Dec 5, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 5, 2024
@Technoboy- Technoboy- added this to the 4.1.0 milestone Dec 5, 2024
@Technoboy- Technoboy- closed this Dec 5, 2024
@Technoboy- Technoboy- reopened this Dec 5, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.45%. Comparing base (bbc6224) to head (12866e7).
Report is 782 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #23683      +/-   ##
============================================
+ Coverage     73.57%   74.45%   +0.88%     
- Complexity    32624    35102    +2478     
============================================
  Files          1877     1945      +68     
  Lines        139502   147454    +7952     
  Branches      15299    16270     +971     
============================================
+ Hits         102638   109792    +7154     
- Misses        28908    29200     +292     
- Partials       7956     8462     +506     
Flag Coverage Δ
inttests 27.27% <37.50%> (+2.69%) ⬆️
systests 24.40% <0.00%> (+0.08%) ⬆️
unittests 73.84% <100.00%> (+0.99%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...org/apache/bookkeeper/mledger/impl/OpAddEntry.java 75.74% <100.00%> (+2.92%) ⬆️

... and 670 files with indirect coverage changes

Copy link
Contributor

@Shawyeok Shawyeok left a comment

Choose a reason for hiding this comment

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

LGTM

@gaoran10 gaoran10 merged commit 24c337f into apache:master Dec 8, 2024
54 checks passed
lhotari pushed a commit that referenced this pull request Dec 11, 2024
lhotari pushed a commit that referenced this pull request Dec 11, 2024
lhotari pushed a commit that referenced this pull request Dec 11, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Dec 12, 2024
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants