forked from facebook/CacheLib
-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
When running cachebench with config-4G-DRAM-4G-PMEM-4G-NVM with 24 or 48 thread releaseBackToAllocator fails randomly.
Specifically, this branch is taken:
if (!it.isDrained()) {
throw std::runtime_error(
folly::sformat("cannot release this item: {}", it.toString()));
}
When I tried to print it.refRaw() value it was 0 (which means that it.isDrained() is also true and thee branch should not be taken). This suggests there is some kind of race.
For now, I've implemented workaround here: 6ab52a7
Metadata
Metadata
Assignees
Labels
No labels