Skip to content

Commit

Permalink
Fix link buf (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
shosseinimotlagh authored Jul 25, 2024
1 parent 30d63bd commit 268124e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class HomestoreConan(ConanFile):
name = "homestore"
version = "6.4.28"
version = "6.4.29"

homepage = "https://github.com/eBay/Homestore"
description = "HomeStore Storage Engine"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/index/wb_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ void IndexWBCache::link_buf(IndexBufferPtr const& up_buf, IndexBufferPtr const&
// to link it with up_buffer's up_buffer. In other words, there should never a link between down and up buffers
// created in current generation (cp). In real terms, it means all new buffers can be flushed independently to
// each other and dependency is needed only for the buffers created in previous cps.
if ((down_buf->m_created_cp_id == icp_ctx->id()) && (up_buf->m_created_cp_id == icp_ctx->id())) {
if (up_buf->m_created_cp_id == icp_ctx->id()) {
real_up_buf = up_buf->m_up_buffer;
HS_DBG_ASSERT(real_up_buf,
"Up buffer is newly created in this cp, but it doesn't have its own up_buffer, its not expected");
Expand Down

0 comments on commit 268124e

Please sign in to comment.