Skip to content

[Data] Remove duplicate PhysicalOperator method to get max operator concurrency#59331

Merged
bveeramani merged 1 commit intomasterfrom
remove-duplicate-method
Dec 10, 2025
Merged

[Data] Remove duplicate PhysicalOperator method to get max operator concurrency#59331
bveeramani merged 1 commit intomasterfrom
remove-duplicate-method

Conversation

@bveeramani
Copy link
Member

#57788 renamed the max_task_concurrency() as get_max_concurrency_limit(). However, the PR didn't remove the original ``max_task_concurrency()method on thePhysicalOperator` base class (probably an oversight?).

This PR fixes the issue by removing the dead method.

Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
@bveeramani bveeramani requested a review from a team as a code owner December 10, 2025 02:55
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request provides a good cleanup by removing a duplicate method for getting the maximum operator concurrency from the PhysicalOperator base class. The change consolidates max_task_concurrency and another get_max_concurrency_limit into a single get_max_concurrency_limit method. This improves code clarity and maintainability. The implementation is straightforward and correct, and I have no issues to report.

@bveeramani bveeramani enabled auto-merge (squash) December 10, 2025 03:16
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Dec 10, 2025
@bveeramani bveeramani merged commit e59ceba into master Dec 10, 2025
6 of 7 checks passed
@bveeramani bveeramani deleted the remove-duplicate-method branch December 10, 2025 04:01
peterxcli pushed a commit to peterxcli/ray that referenced this pull request Feb 25, 2026
… concurrency (ray-project#59331)

ray-project#57788 renamed the
`max_task_concurrency()` as `get_max_concurrency_limit()`. However, the
PR didn't remove the original ``max_task_concurrency()` method on the
`PhysicalOperator` base class (probably an oversight?).

This PR fixes the issue by removing the dead method.

Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
Signed-off-by: peterxcli <peterxcli@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants