Skip to content

Commit

Permalink
Add release assert if btree cache is full
Browse files Browse the repository at this point in the history
  • Loading branch information
sanebay committed Sep 14, 2023
1 parent 85b234f commit 23deee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/blkstore/blkstore.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ class BlkStore {
const bool inserted{m_cache->insert(blkid, ibuf, &out_bbuf)};
if (!inserted) {
free_blk(blkid, boost::none, boost::none);
HS_DBG_ASSERT(0, "cache is full. failing blk allocation");
HS_REL_ASSERT(0, "cache is full. failing blk allocation");
return nullptr;
}

Expand Down

0 comments on commit 23deee6

Please sign in to comment.