Skip to content

Commit 268124e

Browse files
Fix link buf (#473)
1 parent 30d63bd commit 268124e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class HomestoreConan(ConanFile):
1111
name = "homestore"
12-
version = "6.4.28"
12+
version = "6.4.29"
1313

1414
homepage = "https://github.com/eBay/Homestore"
1515
description = "HomeStore Storage Engine"

src/lib/index/wb_cache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ void IndexWBCache::link_buf(IndexBufferPtr const& up_buf, IndexBufferPtr const&
276276
// to link it with up_buffer's up_buffer. In other words, there should never a link between down and up buffers
277277
// created in current generation (cp). In real terms, it means all new buffers can be flushed independently to
278278
// each other and dependency is needed only for the buffers created in previous cps.
279-
if ((down_buf->m_created_cp_id == icp_ctx->id()) && (up_buf->m_created_cp_id == icp_ctx->id())) {
279+
if (up_buf->m_created_cp_id == icp_ctx->id()) {
280280
real_up_buf = up_buf->m_up_buffer;
281281
HS_DBG_ASSERT(real_up_buf,
282282
"Up buffer is newly created in this cp, but it doesn't have its own up_buffer, its not expected");

0 commit comments

Comments
 (0)