Clément Renault

Results 321 comments of Clément Renault
trafficstars

We debugged the issue with @ManyTheFish and discovered that the following lines generated high memory usage. [When you also look at the codebase](https://github.com/meilisearch/meilisearch/blob/84235a63df8c7cb091ebae44c73104f07b460308/milli/src/update/word_prefix_docids.rs#L26-L49), you can think the max memory usage...

It is for performance but mostly to reduce disk usage. I added the `performance` label as it is also related to Disk usage improvements.

Hey @mikedilger 👋 I am moving this one to a future milestone to release the v0.20 soon. For your information, [the official LMDB documentation states that it is not useful...

I tried to introduce more variants to the `Error` enum to represent the key encoding/decoding and data encoding/decoding possible errors. Unfortunately, it's not that easy to convert the generic `Error`...

After a small meeting with @dureuill, we thought about a possible solution to make it safe to use databases with heed and follow the limits of LMDB, even if it...

> Powerdns in `lmdb-safe` force short transaction (there also the not commited readtxn bug, will report it tomorrow, spotted it today) to open the database and have the DBI thus...

I experimented a little bit [on this playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=3e9b62ef8750f2751ca4857dbffff5b9). The basic idea is to add a lifetime to the `Database

Thank you @darnuria, It looks like the [`same_file::Handle` implements `Eq + Hash`](https://docs.rs/same-file/latest/same_file/struct.Handle.html#implementations), which makes it a good candidate for replacing the current `PathBuf` key in the `OPENED_ENV` hashmap. What do...

[I read somewhere](https://gitlab.com/chris-morgan/symlink#caution-symlinks-are-still-less-reliable-on-windows) that hard links on Windows require Administrator privileges...

Do you know if we can run a certain pipeline in the CI as admin or Windows admin?