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

Epoll: Correctly handle splice tasks when Channel is closed #13848

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

normanmaurer
Copy link
Member

Motivation:

We need to use ChannelPromise.try* to notify the ChannelPromise that are used in the different Splice*Task implementations as the ChannelPromise might already be notified during adding it.

Modifications:

  • Use try* variants to notify about splice tasks.

Result:

Fixes #13831

Motivation:

We need to use ChannelPromise.try* to notify the ChannelPromise that are used in the different Splice*Task implementations as the ChannelPromise might already be notified during adding it.

Modifications:

- Use try* variants to notify about splice tasks.

Result:

Fixes #13831
@normanmaurer normanmaurer added this to the 4.1.108.Final milestone Feb 16, 2024
@normanmaurer normanmaurer merged commit 9506ccc into 4.1 Feb 16, 2024
15 checks passed
@normanmaurer normanmaurer deleted the splice_bug branch February 16, 2024 12:42
FMX pushed a commit to apache/celeborn that referenced this pull request Apr 22, 2024
### What changes were proposed in this pull request?

Bump Netty from 4.1.107.Final to 4.1.109.Final.

### Why are the changes needed?

Netty has released v4.1.108.Final, v4.1.109.Final, which release note refers to [4.1.108.Final](https://netty.io/news/2024/03/21/4-1-108-Final.html), [4.1.109.Final](https://netty.io/news/2024/04/15/4-1-109-Final.html). This version includes some bugfixes and improvements including:

- 4.1.108.Final
  - Epoll: Correctly handle splice tasks when Channel is closed: netty/netty#13848
- 4.1.109.Final
  - Don't send a RST frame when closing the stream in a write future while processing inbound frames: netty/netty#13973
  - Fix DefaultChannelId#asLongText NPE: netty/netty#13971
  - Rewrite ZstdDecoder to remove the need of allocate a huge byte[] internally: netty/netty#13928

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

No.

### How was this patch tested?

No.

Closes #2474 from SteNicholas/CELEBORN-1396.

Authored-by: SteNicholas <programgeek@163.com>
Signed-off-by: mingji <fengmingxiao.fmx@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.

Failed to close the channel
1 participant