table: Add formatter for group_id argument in tablet merge exception message

Fixes: SCYLLADB-1432

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>

Closes scylladb/scylladb#29143
This commit is contained in:
Pavel Emelyanov
2026-03-20 12:27:11 +03:00
committed by Botond Dénes
parent fbbe2bdce8
commit 78f5bab7cf

View File

@@ -3417,7 +3417,7 @@ void tablet_storage_group_manager::handle_tablet_merge_completion(locator::effec
auto it = _storage_groups.find(group_id);
if (it == _storage_groups.end()) {
throw std::runtime_error(format("Unable to find sibling tablet of id for table {}", group_id, table_id));
throw std::runtime_error(format("Unable to find sibling tablet of id {} for table {}", group_id, table_id));
}
auto& sg = it->second;
sg->for_each_compaction_group([&new_sg, new_range, new_tid, group_id] (const compaction_group_ptr& cg) {