Commit Graph
12 Commits
Author SHA1 Message Date
Alexey Milovidov 724a4d6428 Merge remote-tracking branch 'origin/master' into fix-compiler-warnings
# Conflicts:
#	src/Functions/seriesPeriodDetectFFT.cpp
#	src/Functions/stl.hpp
#	src/Functions/tests/gtest_string_similarity.cpp
2026-05-23 07:21:41 +00:00
Michael KolupaevandClaude Opus 4.6 1dc0dc0829 Extract KeeperRequestDispatcher from KeeperDispatcher
Split request processing (batching, session management, request/response
threads) into a separate `KeeperRequestDispatcher` class, leaving
`KeeperDispatcher` as a thin shell for snapshots, session ID assignment,
session cleanup, and cluster configuration management.

Key interface changes:
- `KeeperStateMachine` now takes a `KeeperResponseCallback` instead of
  a `ResponsesQueue &`, decoupling the state machine from the queue type.
- `KeeperServer` constructor takes `KeeperResponseCallback` instead of
  `ResponsesQueue &`.
- `KeeperServer::KeeperRaftServer` moved from .cpp anonymous definition
  to the header for visibility.
- `ZooKeeperResponseCallback` moved to `KeeperCommon.h`, returns `bool`
  for future flow control.
- `shutdown` now takes a `closed_all_connections` parameter.
- Consolidated `finishSession` calls into a single `SCOPE_EXIT` in
  `KeeperTCPHandler`.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-07 15:45:25 -07:00
Alexey MilovidovandClaude Opus 4.6 8b47d200d5 Enable -Wmissing-prototypes compiler warning
Add `static` to file-local functions and forward declarations
for cross-TU functions to satisfy `-Wmissing-prototypes`.

This ensures all functions have visible prototypes before their
definitions, improving code quality and catching accidental
linkage issues.

Reference: https://github.com/ClickHouse/ClickHouse/issues/76944

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-03-27 20:11:07 +00:00
Michael Stetsyuk db7c98e866 make seq_num int64 2026-03-09 19:50:30 +00:00
Antonio Andelic 863549b089 Fix system.zookeeper_info 2026-01-12 12:27:55 +01:00
Mikhail Artemenko e3b76919b3 support check stat keeper extension 2025-09-18 12:51:54 +00:00
Antonio Andelic b2a2e8bb40 Replace StringRef with std::string_view in Keeper code 2025-09-08 11:54:19 +02:00
Azat Khuzhin eb74cb7fa9 keeper-utils: configurable limit for dumping top subtress 2025-08-07 15:16:39 +02:00
Antonio Andelic f92310d8df Print biggest subtree in snapshot analyzer 2025-07-04 17:50:33 +02:00
Antonio Andelic 880ee44ef8 Fix segfault 2025-06-16 13:28:45 +02:00
Antonio Andelic 22261481bb More features 2025-06-12 16:25:44 +02:00
Antonio Andelic 4289db0e4a Add keeper-utils which contains utility tools for Keeper 2025-06-11 20:29:48 +02:00