-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Use the new safe read-txn-no-tls
heed feature
#3952
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked with @Kerollmops, let's merge it!
bors merge
3952: No more use the broken `sync-read-txn` heed feature r=curquiza 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 😮💨 This PR removes the `sync-read-txn` heed feature form 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>
Build failed: |
It is failing due to the removal of the |
5ff7bb9
to
d8b47b6
Compare
sync-read-txn
heed featureread-txn-no-tls
heed feature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors merge
We recently found out 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 theRoTxn
s across threads 😮💨I recently introduced the
read-txn-no-tls
heed feature, which implementsRoTxn: Send
and allows multiple read transactions on a single thread (which we use).This PR replaces the
sync-read-txn
heed feature with theread-txn-no-tls
one in the Cargo.toml file. I will fix this in heed v0.20.0 and will fill a RustSec advisory in the meantime.