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

Rename and document the MDB_NOTLS feature #194

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

Kerollmops
Copy link
Member

@Kerollmops Kerollmops commented Jul 26, 2023

This PR is the same as #192 combined with #193 and adapted to the v0.12 branch. Plus, it also bumps the version of heed to v0.12.7. (We were already using the v0.12.6, a tag was present on GitHub 😬).

I know it is technically a breaking change, but I don't want to move to v0.13, and we are the only ones at Meilisearch using this specific branch. It is not published on crates.io.

@Kerollmops Kerollmops added bug Something isn't working security Something that is security related labels Jul 26, 2023
@Kerollmops Kerollmops added the documentation Improvements or additions to documentation label Jul 26, 2023
@Kerollmops Kerollmops force-pushed the rename-document-no-tls-feature-v0-12 branch from f6fed1d to e8957f2 Compare July 26, 2023 13:23
@Kerollmops Kerollmops force-pushed the rename-document-no-tls-feature-v0-12 branch from e8957f2 to d97575d Compare July 26, 2023 13:24
@Kerollmops Kerollmops merged commit 061a527 into v0.12 Jul 26, 2023
3 checks passed
@Kerollmops Kerollmops deleted the rename-document-no-tls-feature-v0-12 branch July 26, 2023 13:40
meili-bors bot added a commit to meilisearch/meilisearch that referenced this pull request Jul 26, 2023
3952: Use the new safe `read-txn-no-tls` heed feature r=ManyTheFish a=Kerollmops

[We recently found out](meilisearch/heed#191 (comment)) that the `read-sync-txn` heed feature was invalid and must be removed from this crate. We were declaring it in milli/meilisearch but, fortunately, not sharing the `RoTxn`s across threads 😮‍💨

[I recently introduced the `read-txn-no-tls` heed feature](meilisearch/heed#194), which implements `RoTxn: Send` and allows multiple read transactions on a single thread (which we use).

This PR removes the `sync-read-txn` heed feature from the _Cargo.toml_ file. I will fix this in heed v0.20.0 and will fill a RustSec advisory in the meantime.

Co-authored-by: Clément Renault <clement@meilisearch.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation security Something that is security related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant