Skip to content

Commit

Permalink
fix solo repldev will be nullptr in map when homestore restart
Browse files Browse the repository at this point in the history
  • Loading branch information
zichanglai committed Oct 8, 2023
1 parent bf8e6fd commit d172f35
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 @@ -5,7 +5,7 @@

class HomestoreConan(ConanFile):
name = "homestore"
version = "4.5.3"
version = "4.5.5"

homepage = "https://github.com/eBay/Homestore"
description = "HomeStore Storage Engine"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/replication/service/repl_service_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ReplicationServiceImpl::open_repl_dev(uuid_t group_id, std::unique_ptr< ReplDevL
auto it = m_rd_map.find(group_id);
if (it != m_rd_map.end()) {
// We already loaded the ReplDev, just call the group_id and attach the listener
auto& repl_dev = it->second;
auto repl_dev = it->second;
listener->set_repl_dev(repl_dev.get());
repl_dev->attach_listener(std::move(listener));
return make_async_success< shared< ReplDev > >(std::move(repl_dev));
Expand Down

0 comments on commit d172f35

Please sign in to comment.