mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Merge pull request #58069 from ClickHouse/dont-preprocess-if-not-ready
Fix invalid preprocessing on Keeper
This commit is contained in:
commit
b9466023ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user