Skip to content

Commit

Permalink
Backport #58069 to 23.8: Fix invalid preprocessing on Keeper
Browse files Browse the repository at this point in the history
  • Loading branch information
robot-clickhouse committed Dec 21, 2023
1 parent 7c0ed26 commit 4cfe460
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Coordination/KeeperServer.cpp
Expand Up @@ -769,6 +769,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 4cfe460

Please sign in to comment.