Skip to content

Commit

Permalink
Merge pull request #627 from raakella1/oom
Browse files Browse the repository at this point in the history
btree fix for the OOM issue in production
  • Loading branch information
raakella1 authored Jan 9, 2025
2 parents e5f8df4 + d22a43f commit 30b4ae5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class HomestoreConan(ConanFile):
name = "homestore"
version = "3.7.4"
version = "3.7.5"

homepage = "https://github.corp.ebay.com/SDS/homestore"
description = "HomeStore"
Expand Down
5 changes: 5 additions & 0 deletions src/engine/homeds/btree/writeBack_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,11 @@ class WriteBackCache : public std::enable_shared_from_this< WriteBackCache< K, V
++wb_cache_outstanding_cnt;
shared_this->m_blkstore->write(wb_req->bid, wb_req->m_mem, 0, wb_req, false);
++write_count;

// we are done with this wb_req
HS_REL_ASSERT_EQ(wb_req, wb_req->bn->req[cp_id]);
wb_req->bn->req[cp_id] = nullptr;

if (wb_cache_outstanding_cnt > ResourceMgrSI().get_dirty_buf_qd()) {
CP_PERIODIC_LOG(
DEBUG, bt_cp_id,
Expand Down

0 comments on commit 30b4ae5

Please sign in to comment.