Skip to content

releaseBackToAllocator random failure #30

@igchor

Description

@igchor

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions