Skip to content

Commit

Permalink
Merge pull request #58116 from ClickHouse/backport/23.11/58069
Browse files Browse the repository at this point in the history
Backport #58069 to 23.11: Fix invalid preprocessing on Keeper
  • Loading branch information
robot-ch-test-poll committed Dec 21, 2023
2 parents 9d2930b + e54d34c commit 6500702
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Coordination/KeeperServer.cpp
Expand Up @@ -859,6 +859,10 @@ nuraft::cb_func::ReturnCode KeeperServer::callbackFunc(nuraft::cb_func::Type typ
initial_batch_committed = true;
return nuraft::cb_func::ReturnCode::Ok;
}
case nuraft::cb_func::PreAppendLogLeader:
{
return nuraft::cb_func::ReturnCode::ReturnNull;
}
case nuraft::cb_func::PreAppendLogFollower:
{
const auto & entry = *static_cast<LogEntryPtr *>(param->ctx);
Expand Down

0 comments on commit 6500702

Please sign in to comment.