Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

fix: fix data loss #815

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 src/replica/replica_learn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ void replica::on_learn_reply(error_code err, learn_request &&req, learn_response
this,
_stub->_log->on_partition_reset(get_gpid(), _app->last_committed_decree()),
_private_log->on_partition_reset(get_gpid(), _app->last_committed_decree()),
_app->last_committed_decree());
_app->last_durable_decree());

// switch private log to make learning easier
_private_log->demand_switch_file();
Expand Down