Files
scylladb/locator
Kefu Chai 10a11c2886 token_metadata: pass node id when formatting it
before this change, we use the format string of
"Can't replace node {} with itself", but fail to include the host id as seastar::format()'s arguments. this fails the compile-time check of fmt, which is yet merged. so, if we really run into this problem, {fmt} would throw before the intended runtime_error is raised -- currently, seastar::log formats the logging messages at runtime, this is not intended.

in this change, we pass `existing_node`, so it can be formatted, and the
intended error message can be printed in log.

Refs 11a4908683
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes scylladb/scylladb#16422
2023-12-15 16:43:44 +01:00
..
2023-07-10 16:07:12 +03:00
2023-12-05 08:42:49 +02:00
2023-12-12 23:19:54 +04:00
2023-12-12 23:19:54 +04:00
2023-12-12 23:19:54 +04:00