Skip to content

Commit

Permalink
Merge pull request #58108 from ClickHouse/backport/23.3/58069
Browse files Browse the repository at this point in the history
Backport #58069 to 23.3: Fix invalid preprocessing on Keeper
  • Loading branch information
antonio2368 committed Dec 21, 2023
2 parents abf7a6b + 0d5af83 commit 2f24011
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Coordination/KeeperServer.cpp
Expand Up @@ -737,6 +737,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 2f24011

Please sign in to comment.