Skip to content

Commit

Permalink
Merge pull request #58111 from ClickHouse/cherrypick/23.9/b9466023ce2…
Browse files Browse the repository at this point in the history
…3cde29db2e8c4e41725873c080036

Cherry pick #58069 to 23.9: Fix invalid preprocessing on Keeper
  • Loading branch information
robot-ch-test-poll committed Dec 21, 2023
2 parents 2eb83b6 + b946602 commit 839cf68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Coordination/KeeperServer.cpp
Expand Up @@ -774,6 +774,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 839cf68

Please sign in to comment.