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

[VL] Add thread_safe to several VeloxRuntime classes #6526

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

FelixYBW
Copy link
Contributor

fix #6525

VeloxRuntime is shared by many threads, like task threads or parquet writter threads. We must make sure the objects hold by VeloxRuntime are thread safe.

@FelixYBW FelixYBW requested a review from zhztheplayer July 20, 2024 03:15
Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/apache/incubator-gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

@FelixYBW FelixYBW merged commit 2866ff7 into apache:main Jul 22, 2024
41 checks passed
@FelixYBW FelixYBW deleted the velox_runtime_thread_safe branch July 22, 2024 06:37
weiting-chen pushed a commit to weiting-chen/gluten that referenced this pull request Jul 25, 2024
weiting-chen pushed a commit to weiting-chen/gluten that referenced this pull request Jul 25, 2024
VeloxRuntime is shared by many threads, like task threads or parquet writter threads. We must make sure the objects hold by VeloxRuntime are thread safe.
weiting-chen pushed a commit to weiting-chen/gluten that referenced this pull request Jul 25, 2024
weiting-chen added a commit that referenced this pull request Jul 25, 2024
* [GLUTEN-6501][VL] Fix the missing fileReadProperties when constructing a LocalFilesNode (#6503)

* [GLUTEN-6477][VL] Fix occasional dead lock during spilling (#6515)

* [VL] Add thread_safe to several VeloxRuntime classes (#6526)

VeloxRuntime is shared by many threads, like task threads or parquet writter threads. We must make sure the objects hold by VeloxRuntime are thread safe.

* [VL] Following #6526, minor fixes and improvements (#6554)

---------

Co-authored-by: zhaokuo <[email protected]>
Co-authored-by: Hongze Zhang <[email protected]>
Co-authored-by: BInwei Yang <[email protected]>
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.

[VL] BlockAllocationListener isn't thread safe
2 participants