Skip to content

Commit

Permalink
one place need to set bufferOverFlow_ = false
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyu85cn committed Apr 15, 2022
1 parent 1af0e37 commit b3f3779
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kvstore/raftex/RaftPart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@ folly::Future<nebula::cpp2::ErrorCode> RaftPart::appendLogAsync(ClusterID source
{
std::lock_guard<std::mutex> lck(logsLock_);
AppendLogsIteratorFactory::make(logs_, sendingLogs_);
bufferOverFlow_ = false;
if (sendingLogs_.empty()) {
replicatingLogs_ = false;
return retFuture;
Expand Down

0 comments on commit b3f3779

Please sign in to comment.