Skip to content

[CELEBORN-1998] RemoteShuffleEnvironment should not register InputChannelMetrics repeatedly#3257

Closed
SteNicholas wants to merge 1 commit intoapache:mainfrom
SteNicholas:CELEBORN-1998
Closed

[CELEBORN-1998] RemoteShuffleEnvironment should not register InputChannelMetrics repeatedly#3257
SteNicholas wants to merge 1 commit intoapache:mainfrom
SteNicholas:CELEBORN-1998

Conversation

@SteNicholas
Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

RemoteShuffleEnvironment should not register InputChannelMetrics repeatedly, which only create once in RemoteShuffleEnvironment#createInputGates.

Why are the changes needed?

If a task has multiple input gates, It will create as many InputChannelMetrics as the number of gates, so the corresponding metrics are registered repeatedly. Therefore, RemoteShuffleEnvironment should not register InputChannelMetrics repeatedly for createInputGates.

Backport apache/flink#21437.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual.

@SteNicholas
Copy link
Copy Markdown
Member Author

Ping @reswqa, @codenohup, @RexXiong, @FMX.

Copy link
Copy Markdown
Member

@reswqa reswqa 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
Copy Markdown
Contributor

@FMX FMX left a comment

Choose a reason for hiding this comment

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

LGTM. Merged into main(v0.6.0).

@FMX FMX closed this in a9ce411 May 15, 2025
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.

3 participants