pmem / CacheLib

Pluggable in-process caching engine to build and scale high performance services
https://www.cachelib.org
Apache License 2.0
5 stars 13 forks source link

multi tier cache failed #75

Closed chenyou-intel closed 1 year ago

chenyou-intel commented 2 years ago

We’ve encountered below error when tried to run multitier_cache example:

1

Code snippet:

2
victoria-mcgrath commented 2 years ago

@chenyou-intel The problem was caused by incorrect memory tier sizes that were used to determine per tier pool sizes. I submitted a fix and new regression tests for review (https://github.com/pmem/CacheLib/pull/76). If you want to try the fixed code before the promotion to develop is complete, please use this branch: https://github.com/pmem/CacheLib/tree/issue75.

chenyou-intel commented 2 years ago

@victoria-mcgrath Thanks! I'll try this branch