mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 02:50:33 +00:00
Change the token_metadata type to token_metadata2 in the signatures of CDC-related methods in storage_service and cdc/generation. Use get_new_strong to get a pointer to the new host_id-based token_metadata from the inet_address-based one, living in the shared_token_metadata. The starting point of the patch is in storage_service::handle_global_request. We change the tmptr type to token_metadata2 and propagate the change down the call chains. This includes token-related methods of the boot_strapper class.