Skip to content

Commit 377d847

Browse files
authored
Issue xxxx: default solo repl dev replay ot false (eBay#834)
1 parent cf805b9 commit 377d847

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-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 = "7.0.3"
12+
version = "7.0.4"
1313

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

src/lib/replication/repl_dev/solo_repl_dev.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ void SoloReplDev::async_write_journal(const std::vector< MultiBlkId >& blkids, s
174174
void SoloReplDev::on_log_found(logstore_seq_num_t lsn, log_buffer buf, void* ctx) {
175175
auto cur_lsn = m_commit_upto.load();
176176

177-
auto force_replay = SISL_OPTIONS["solo_force_replay"].as< bool >();
177+
bool force_replay = false;
178+
if (SISL_OPTIONS.count("solo_force_replay")) { force_replay = SISL_OPTIONS["solo_force_replay"].as< bool >(); }
179+
178180
if (cur_lsn >= lsn and !force_replay) {
179181
// Already committed
180182
LOGINFO("SoloReplDev skipping already committed log_entry lsn={}, m_commit_upto at lsn={}", lsn, cur_lsn);

0 commit comments

Comments
 (0)