Skip to content

[CELEBORN-1770] FlushNotifier should setException for all Throwables in Flusher#2988

Closed
zaynt4606 wants to merge 1 commit intoapache:mainfrom
zaynt4606:clb1770-m
Closed

[CELEBORN-1770] FlushNotifier should setException for all Throwables in Flusher#2988
zaynt4606 wants to merge 1 commit intoapache:mainfrom
zaynt4606:clb1770-m

Conversation

@zaynt4606
Copy link
Contributor

@zaynt4606 zaynt4606 commented Dec 10, 2024

What changes were proposed in this pull request?

Non-IOException (will throw illegalReferenceCountException If a netty's buffer reference count is incorrect)
should also be set in FlushNotifier.
Provides Utils to convert non-IOExceptions to IOExceptions.

Why are the changes needed?

In some test scenarios where data replication is enabled and workers are randomly terminated, it will throw illegalReferenceCountException which won't be caught.
image

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UT & cluster test.

Copy link
Member

@turboFei turboFei left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@RexXiong RexXiong left a comment

Choose a reason for hiding this comment

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

LGTM, merge to main(v060) and branch-0.5(v0.5.3) and branch-0.4(v0.4.4)

@RexXiong RexXiong closed this in f7b036d Dec 12, 2024
RexXiong pushed a commit that referenced this pull request Dec 12, 2024
…in Flusher

### What changes were proposed in this pull request?
Non-IOException (will throw illegalReferenceCountException If a netty's buffer reference count is incorrect)
should also be set in FlushNotifier.
Provides Utils to convert non-IOExceptions to IOExceptions.

### Why are the changes needed?
In some test scenarios where data replication is enabled and workers are randomly terminated, it will throw illegalReferenceCountException which won't be caught.
![image](https://github.com/user-attachments/assets/6503204a-9594-4a7e-850c-c411e0b07117)

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

### How was this patch tested?
Existing UT & cluster test.

Closes #2988 from zaynt4606/clb1770-m.

Authored-by: zhengtao <shuaizhentao.szt@alibaba-inc.com>
Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com>
(cherry picked from commit f7b036d)
Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com>
RexXiong pushed a commit that referenced this pull request Dec 12, 2024
…in Flusher

Non-IOException (will throw illegalReferenceCountException If a netty's buffer reference count is incorrect)
should also be set in FlushNotifier.
Provides Utils to convert non-IOExceptions to IOExceptions.

In some test scenarios where data replication is enabled and workers are randomly terminated, it will throw illegalReferenceCountException which won't be caught.
![image](https://github.com/user-attachments/assets/6503204a-9594-4a7e-850c-c411e0b07117)

No.

Existing UT & cluster test.

Closes #2988 from zaynt4606/clb1770-m.

Authored-by: zhengtao <shuaizhentao.szt@alibaba-inc.com>
Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com>
(cherry picked from commit f7b036d)
Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com>
RexXiong pushed a commit that referenced this pull request Apr 17, 2025
…in Flusher

### What changes were proposed in this pull request?
Non-IOException (will throw illegalReferenceCountException If a netty's buffer reference count is incorrect)
should also be set in FlushNotifier.
Provides Utils to convert non-IOExceptions to IOExceptions.

### Why are the changes needed?
In some test scenarios where data replication is enabled and workers are randomly terminated, it will throw illegalReferenceCountException which won't be caught.
![image](https://github.com/user-attachments/assets/6503204a-9594-4a7e-850c-c411e0b07117)

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

### How was this patch tested?
Existing UT & cluster test.

Closes #2988 from zaynt4606/clb1770-m.

Authored-by: zhengtao <shuaizhentao.szt@alibaba-inc.com>
Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com>
(cherry picked from commit f7b036d)
Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com>
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