Petr Gusev
63f64f3303
token_metadata: make it a template with NodeId=inet_address/host_id
...
NodeId is used in all internal token_metadata data structures, that
previously used inet_address. We choose topology::key_kind based
on the value of the template parameter.
generic_token_metadata::update_topology overload with host_id
parameter is added to make update_topology_change_info work,
it now uses NodeId as a parameter type.
topology::remove_endpoint(host_id) is added to make
generic_token_metadata::remove_endpoint(NodeId) work.
pending_endpoints_for and endpoints_for_reading are just removed - they
are not used and not implemented. The declarations were left by mistake
from a refactoring in which these methods were moved to erm.
generic_token_metadata_base is extracted to contain declarations, common
to both token_metadata versions.
Templates are explicitly instantiated inside token_metadata.cc, since
implementation part is also a template and it's not exposed to the header.
There are no other behavioral changes in this commit, just syntax
fixes to make token_metadata a template.
2023-12-11 12:51:34 +04:00
..
2023-07-19 01:28:28 -04:00
2023-10-31 18:34:41 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-12-05 15:18:11 +02:00
2023-08-17 15:52:48 +03:00
2023-11-14 11:23:05 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-06-22 13:57:33 +03:00
2023-06-22 13:57:33 +03:00
2023-06-22 13:57:33 +03:00
2023-06-22 13:57:33 +03:00
2023-11-22 09:23:43 +01:00
2023-08-17 15:52:48 +03:00
2022-05-13 07:11:58 +02:00
2023-06-28 10:18:06 +02:00
2023-02-12 17:25:41 +02:00
2023-12-02 22:37:22 +02:00
2023-02-15 11:01:50 +02:00
2022-05-13 07:11:58 +02:00
2023-12-02 22:37:22 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-04 19:47:50 +03:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-12-09 15:56:41 +02:00
2023-12-11 12:51:34 +04:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-09-21 13:24:26 +02:00
2023-09-21 13:24:26 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-06-22 14:21:03 +03:00
2022-05-13 07:11:58 +02:00
2023-12-02 22:37:22 +02:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-12-02 22:37:22 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-08-01 10:07:31 +02:00
2023-06-22 13:57:36 +03:00
2023-06-22 13:57:33 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2023-04-06 09:50:32 -04:00
2023-04-06 09:50:32 -04:00
2023-12-02 22:37:22 +02:00
2023-12-11 12:51:34 +04:00
2023-11-30 13:07:20 +01:00
2023-11-30 13:07:20 +01:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-11-22 09:23:43 +01:00
2023-12-02 22:37:22 +02:00
2023-06-22 13:57:33 +03:00
2023-06-22 13:57:33 +03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2023-01-03 19:54:13 +02:00
2022-05-19 10:11:50 +02:00
2022-05-13 07:11:58 +02:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-09-18 21:47:28 +03:00
2023-08-17 15:52:48 +03:00
2023-12-02 22:37:22 +02:00
2023-11-22 09:23:43 +01:00
2023-06-22 13:57:33 +03:00
2023-06-22 13:57:33 +03:00
2022-03-31 07:04:00 +03:00
2023-04-27 10:24:46 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-07-14 15:42:58 +03:00
2022-09-08 15:25:36 +02:00
2023-11-09 10:43:11 +01:00
2023-08-17 15:52:48 +03:00