Skip to content

Commit

Permalink
Merge pull request #58115 from ClickHouse/cherrypick/23.11/b9466023ce…
Browse files Browse the repository at this point in the history
…23cde29db2e8c4e41725873c080036

Cherry pick #58069 to 23.11: Fix invalid preprocessing on Keeper
  • Loading branch information
robot-ch-test-poll committed Dec 21, 2023
2 parents 8f466c0 + b946602 commit 367edde
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 367edde

Please sign in to comment.