Skip to content

Commit

Permalink
fix an issue with forgetting to unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
mengqingzhong committed Dec 25, 2023
1 parent f43c6a3 commit 247d5cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/braft/replicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ int Replicator::_continue_sending(void* arg, int error_code) {
// 1. pipeline is enabled and
// 2. disable readonly mode triggers another replication
if (r->_wait_id != 0) {
bthread_id_unlock(id);
return 0;
}

Expand Down

0 comments on commit 247d5cc

Please sign in to comment.