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))); }