Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyu85cn committed Apr 19, 2022
1 parent 8599d0b commit 25f7162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kvstore/raftex/RaftPart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ folly::Future<nebula::cpp2::ErrorCode> RaftPart::appendLogAsync(ClusterID source
if (bufferOverFlow_) {
VLOG_EVERY_N(2, 1000)
<< idStr_ << "The appendLog buffer is full. Please slow down the log appending rate."
<< "replicatingLogs_ :" << std::boolaplha << replicatingLogs_;
<< "replicatingLogs_ :" << std::boolalpha << replicatingLogs_;
return nebula::cpp2::ErrorCode::E_RAFT_BUFFER_OVERFLOW;
}
{
Expand All @@ -782,7 +782,7 @@ folly::Future<nebula::cpp2::ErrorCode> RaftPart::appendLogAsync(ClusterID source
if (logs_.size() >= FLAGS_max_batch_size) {
// Buffer is full
VLOG(2) << idStr_ << "The appendLog buffer is full. Please slow down the log appending rate."
<< "replicatingLogs_ :" << std::boolaplha << replicatingLogs_;
<< "replicatingLogs_ :" << std::boolalpha << replicatingLogs_;
bufferOverFlow_ = true;
return nebula::cpp2::ErrorCode::E_RAFT_BUFFER_OVERFLOW;
}
Expand Down

0 comments on commit 25f7162

Please sign in to comment.