Small fix

This commit is contained in:
Antonio Andelic 2024-10-24 15:14:43 +02:00
parent b24239a75c
commit f44827beca
5 changed files with 5 additions and 2 deletions

View File

@ -877,7 +877,7 @@ nuraft::cb_func::ReturnCode KeeperServer::callbackFunc(nuraft::cb_func::Type typ
auto entry_buf = entry->get_buf_ptr();
IKeeperStateMachine::ZooKeeperLogSerializationVersion serialization_version;
size_t request_end_position;
size_t request_end_position = 0;
auto request_for_session = state_machine->parseRequest(*entry_buf, /*final=*/false, &serialization_version, &request_end_position);
request_for_session->zxid = next_zxid;
if (!state_machine->preprocess(*request_for_session))

View File

@ -4,4 +4,4 @@
<async_replication>1</async_replication>
</coordination_settings>
</keeper_server>
</clickhouse>
</clickhouse>

View File

@ -18,6 +18,7 @@
<tcp_port>2181</tcp_port>
<server_id>1</server_id>
<digest_enabled>1</digest_enabled>
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<session_timeout_ms>15000</session_timeout_ms>

View File

@ -17,6 +17,7 @@
<keeper_server>
<tcp_port>2181</tcp_port>
<server_id>2</server_id>
<digest_enabled>1</digest_enabled>
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>

View File

@ -12,6 +12,7 @@
<keeper_server>
<tcp_port>2181</tcp_port>
<server_id>3</server_id>
<digest_enabled>1</digest_enabled>
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>