Repository navigation
[Data] Propagate isolate_read_workers to DatasourceV2 - #65191
Merged
Merged
Conversation
Signed-off-by: Balaji Veeramani <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e3413a2. Configure here.
Contributor
There was a problem hiding this comment.
Code Review
This pull request propagates the isolate_read_workers setting from DataContext to the ReadFiles physical operator and adds a unit test to verify this propagation. However, an accidental assert False statement was left in an existing test in python/ray/data/tests/test_map.py, which will cause test failures and should be removed.
| ray.data.read_datasource(SetMarkerDatasource()).map( | ||
| check_marker_not_set | ||
| ).materialize() | ||
| assert False |
Contributor
iamjustinhsu
approved these changes
Aug 4, 2026
| ray.data.read_datasource(SetMarkerDatasource()).map( | ||
| check_marker_not_set | ||
| ).materialize() | ||
| assert False |
bveeramani
enabled auto-merge (squash)
August 4, 2026 17:27
Signed-off-by: Balaji Veeramani <[email protected]>
elliot-barn
added a commit
that referenced
this pull request
Aug 4, 2026
…V2 (#65191) (#65207) Cherry-pick of #65191 to `releases/2.57.0`. > **Note:** #65191 is still open on master at the time of this cherry-pick (picked from its head commit e3413a2). If it changes before merging to master, this PR should be updated to match. ## Original description #63490 added a setting, `isolate_read_workers`, to run reads on dedicated worker processes. The intention was to mitigate memory bloat from PyArrow from affecting downstream stages. The PR only added a test with `Datasource` (V1), but not with `DatasourceV2`. As a result, we've shipped a bug where the flag doesn't work correctly with `DatasourceV2`. This PR fixes the bug and also adds a regression test. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Balaji Veeramani <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
bveeramani
enabled auto-merge (squash)
August 4, 2026 19:26
Artimislyy
pushed a commit
to Artimislyy/ray
that referenced
this pull request
Aug 11, 2026
…65191) ray-project#63490 added a setting, `isolate_read_workers`, to run reads on dedicated worker processes. The intention was to mitigate memory bloat from PyArrow from affecting downstream stages. The PR only added a test with `Datasource` (V1), but not with `DatasourceV2`. As a result, we've shipped a bug where the flag doesn't work correctly with `DatasourceV2`. In this PR, I'm fixing the bug and also adding a regression test. --------- Signed-off-by: Balaji Veeramani <[email protected]>
400Ping
pushed a commit
to 400Ping/ray
that referenced
this pull request
Aug 18, 2026
…65191) ray-project#63490 added a setting, `isolate_read_workers`, to run reads on dedicated worker processes. The intention was to mitigate memory bloat from PyArrow from affecting downstream stages. The PR only added a test with `Datasource` (V1), but not with `DatasourceV2`. As a result, we've shipped a bug where the flag doesn't work correctly with `DatasourceV2`. In this PR, I'm fixing the bug and also adding a regression test. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: 400Ping <[email protected]>
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
…65191) ray-project#63490 added a setting, `isolate_read_workers`, to run reads on dedicated worker processes. The intention was to mitigate memory bloat from PyArrow from affecting downstream stages. The PR only added a test with `Datasource` (V1), but not with `DatasourceV2`. As a result, we've shipped a bug where the flag doesn't work correctly with `DatasourceV2`. In this PR, I'm fixing the bug and also adding a regression test. --------- Signed-off-by: Balaji Veeramani <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

#63490 added a setting,
isolate_read_workers, to run reads on dedicated worker processes. The intention was to mitigate memory bloat from PyArrow from affecting downstream stages.The PR only added a test with
Datasource(V1), but not withDatasourceV2. As a result, we've shipped a bug where the flag doesn't work correctly withDatasourceV2.In this PR, I'm fixing the bug and also adding a regression test.