From dd51acf014edd03f55ef2cee951d50cdb3fcccb4 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Mon, 23 Feb 2026 11:27:24 +0300 Subject: [PATCH] tablets: Add braces around tablet_transition_kind::repair switch This is just to reduce the churn in the next patch Signed-off-by: Pavel Emelyanov --- locator/tablets.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/locator/tablets.cc b/locator/tablets.cc index b45ae2e72f..acbcc6a2b4 100644 --- a/locator/tablets.cc +++ b/locator/tablets.cc @@ -186,12 +186,13 @@ tablet_migration_streaming_info get_migration_streaming_info(const locator::topo return result; } - case tablet_transition_kind::repair: + case tablet_transition_kind::repair: { auto s = std::unordered_set(tinfo.replicas.begin(), tinfo.replicas.end()); result.stream_weight = locator::tablet_migration_stream_weight_repair; result.read_from = s; result.written_to = std::move(s); return result; + } } on_internal_error(tablet_logger, format("Invalid tablet transition kind: {}", static_cast(trinfo.transition))); }