Please update the Cargo.lock for moka cache to v0.9.8
tatsuya6502 opened this issue · 2 comments
Hi. Currently, moka
cache version is pinned to v0.9.4 by the Cargo.lock
file:
Lines 1178 to 1179 in f2117d3
Please upgrade it to v0.9.8 or the latest v0.11.2.
We found a critical bug that will cause a segfault in a corner case: moka-rs/moka#281 (comment). It is fixed for v0.11.0 and then backported to v0.9.8 and v0.10.3.
A pull request is already opened by Renovate: #100
I checked the usage of moka
in mvSQLite, and I think it is okay to continue using v0.9.4.
I believe the bug will be triggered only when weigher
(doc) is set, and all other timings in different threads are met. I found mvSQLite does not set weigher
to any Cache
s.
mvsqlite/mvstore/src/server.rs
Lines 225 to 247 in ec0cb13
mvsqlite/mvstore/src/metadata.rs
Lines 43 to 46 in ec0cb13
Anyway, I would still encourage to upgrade moka
to v0.9.8 or the latest v0.11.2 just for sure.