Skip to content

Commit

Permalink
Merge pull request eBay#324 from raakella1/bump_nuraft
Browse files Browse the repository at this point in the history
bump nuraft
  • Loading branch information
raakella1 authored Feb 14, 2024
2 parents c8021ab + fdfabd8 commit 5654699
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ jobs:
run: |
pre=$([[ "${{ inputs.build-type }}" != "Debug" ]] && echo "-o sisl:prerelease=${{ inputs.prerelease }}" || echo "")
conan install \
-c tools.build:skip_test=True \
${pre} \
-o sisl:malloc_impl=${{ inputs.malloc-impl }} \
-o iomgr:testing=off \
-o nuraft_mesg:testing=False \
-o testing=off \
-s build_type=${{ inputs.build-type }} \
--build missing \
Expand Down Expand Up @@ -211,10 +211,10 @@ jobs:
sanitize=$([[ "${{ inputs.tooling }}" == "Sanitize" ]] && echo "True" || echo "False")
pre=$([[ "${{ inputs.build-type }}" != "Debug" ]] && echo "-o sisl:prerelease=${{ inputs.prerelease }}" || echo "")
conan create \
-c tools.build:skip_test=True \
${pre} \
-o sisl:malloc_impl=${{ inputs.malloc-impl }} \
-o iomgr:testing=off \
-o nuraft_mesg:testing=False \
-o homestore:sanitize=${sanitize} \
-s build_type=${{ inputs.build-type }} \
--build missing \
Expand All @@ -225,10 +225,10 @@ jobs:
run: |
pre=$([[ "${{ inputs.build-type }}" != "Debug" ]] && echo "-o sisl:prerelease=${{ inputs.prerelease }}" || echo "")
conan install \
-c tools.build:skip_test=True \
${pre} \
-o sisl:malloc_impl=${{ inputs.malloc-impl }} \
-o iomgr:testing=off \
-o nuraft_mesg:testing=False \
-o coverage=True \
-s build_type=${{ inputs.build-type }} \
--build missing \
Expand Down
4 changes: 2 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class HomestoreConan(ConanFile):
name = "homestore"
version = "5.1.4"
version = "5.1.5"

homepage = "https://github.com/eBay/Homestore"
description = "HomeStore Storage Engine"
Expand Down Expand Up @@ -57,7 +57,7 @@ def build_requirements(self):
def requirements(self):
self.requires("iomgr/[~=11, include_prerelease=True]@oss/master")
self.requires("sisl/[~=11, include_prerelease=True]@oss/master")
self.requires("nuraft_mesg/[~=2, include_prerelease=True]@oss/main")
self.requires("nuraft_mesg/[~=3, include_prerelease=True]@oss/main")

self.requires("farmhash/cci.20190513@")
if self.settings.arch in ['x86', 'x86_64']:
Expand Down
5 changes: 3 additions & 2 deletions src/lib/replication/repl_dev/raft_repl_dev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <sisl/fds/buffer.hpp>
#include <sisl/grpc/generic_service.hpp>
#include <sisl/grpc/rpc_client.hpp>
#include <homestore/blkdata_service.hpp>
#include <homestore/logstore_service.hpp>
#include <homestore/superblk_handler.hpp>
Expand Down Expand Up @@ -450,8 +451,8 @@ void RaftReplDev::fetch_data_from_remote(std::vector< repl_req_ptr_t >* rreqs) {
.thenValue([this, builder, rreqs](auto e) {
RD_REL_ASSERT(!!e, "Error in fetching data");

auto raw_data = e.value().cbytes();
auto total_size = e.value().size();
auto raw_data = e.value().response_blob().cbytes();
auto total_size = e.value().response_blob().size();

for (auto const& rreq : *rreqs) {
auto const data_size = rreq->remote_blkid.blkid.blk_count() * get_blk_size();
Expand Down

0 comments on commit 5654699

Please sign in to comment.