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

Release GIL on update and append #1559

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

willdealtry
Copy link
Collaborator

@willdealtry willdealtry commented May 8, 2024

We need to take the GIL when Python needs to allocate special characters, otherwise we will deadlock. At the moment write() releases the GIL but update() and append() don't

We need to take the GIL when Python needs to allocate special characters, otherwise we will deadlock. At the moment read() releases the GIL but update() and append() don't
@willdealtry willdealtry merged commit adf5b25 into master May 9, 2024
114 checks passed
@willdealtry willdealtry deleted the release_gil_update_append branch May 9, 2024 10:45
G-D-Petrov added a commit that referenced this pull request Jun 5, 2024
#### Reference Issues/PRs
Adds tests for PR #1559 

#### What does this implement or fix?
Adds tests from appending and updating dfs with unicode strings.
Also adds tests for the other similar operations (some like
reading/writing are folded into the append tests)

#### Any other comments?

#### Checklist

<details>
  <summary>
   Checklist for code changes...
  </summary>
 
- [ ] Have you updated the relevant docstrings, documentation and
copyright notice?
- [ ] Is this contribution tested against [all ArcticDB's
features](../docs/mkdocs/docs/technical/contributing.md)?
- [ ] Do all exceptions introduced raise appropriate [error
messages](https://docs.arcticdb.io/error_messages/)?
 - [ ] Are API changes highlighted in the PR description?
- [ ] Is the PR labelled as enhancement or bug so it appears in
autogenerated release notes?
</details>

<!--
Thanks for contributing a Pull Request to ArcticDB! Please ensure you
have taken a look at:
- ArcticDB's Code of Conduct:
https://github.com/man-group/ArcticDB/blob/master/CODE_OF_CONDUCT.md
- ArcticDB's Contribution Licensing:
https://github.com/man-group/ArcticDB/blob/master/docs/mkdocs/docs/technical/contributing.md#contribution-licensing
-->
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.

3 participants