Skip to content

Commit 9c5e607

Browse files
committed
fixes
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
1 parent 83e4b52 commit 9c5e607

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/server/tiering/op_manager.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ std::error_code OpManager::PrepareAndStash(EntryId id, size_t length,
107107

108108
size_t written = writer(buf->second.bytes);
109109
Stash(id, {buf->first, written}, buf->second);
110+
return {};
110111
}
111112

112113
OpManager::ReadOp& OpManager::PrepareRead(DiskSegment aligned_segment) {

src/server/tiering/serialized_map_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ TEST_F(SerializedMapTest, TestBasic) {
3131
auto lw = detail::ListpackWrap::WithCapacity(100);
3232
for (const auto& [k, v] : kBase)
3333
lw.Insert(k, v, false);
34+
lw.GetPointer(); // to mark as non dirty // TODO: remove
3435

3536
// Serialize kBase to buffer
3637
std::string buffer;

0 commit comments

Comments
 (0)