mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 19:10:42 +00:00
This "service" is a bag for code responsible for dictionary training, created to unclutter main() from dictionary-specific logic. It starts the RPC dictionary training loop when the relevant cluster feature is enabled, pauses and unpauses it appropriately whenever relevant config or leadership status are updated, and publishes new dictionaries whenever the training fiber produces them.
21 lines
424 B
CMake
21 lines
424 B
CMake
add_library(message STATIC)
|
|
target_sources(message
|
|
PRIVATE
|
|
dictionary_service.cc
|
|
dictionary_service.hh
|
|
messaging_service.cc
|
|
messaging_service.hh)
|
|
target_include_directories(message
|
|
PUBLIC
|
|
${CMAKE_SOURCE_DIR})
|
|
target_link_libraries(message
|
|
PUBLIC
|
|
gms
|
|
Seastar::seastar
|
|
absl::headers
|
|
PRIVATE
|
|
idl)
|
|
|
|
check_headers(check-headers message
|
|
GLOB_RECURSE ${CMAKE_CURRENT_SOURCE_DIR}/*.hh)
|