Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "7.5.17"
version = "7.5.18"

homepage = "https://github.com/eBay/Homestore"
description = "HomeStore Storage Engine"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/replication/repl_dev/raft_repl_dev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,6 @@ AsyncReplResult<> RaftReplDev::become_leader() {
return make_async_error<>(ReplServiceError::STOPPING);
}
init_req_counter counter(pending_request_num);
reset_latch_lsn();

return m_msg_mgr.become_leader(m_group_id)
.via(&folly::InlineExecutor::instance())
Expand Down Expand Up @@ -2987,6 +2986,7 @@ void RaftReplDev::become_leader_cb() {
RD_REL_ASSERT(new_gate >= static_cast< uint64_t >(current_gate),
"new_gate={} should be equal or larger than current_gate={}!", new_gate, current_gate);

reset_latch_lsn();
m_traffic_ready_lsn.store(new_gate);
// in nuraft, a leader might become a new leader directly, which means it is unnecessary to become a follower before
// becoming a leader.
Expand Down
Loading