From b1249b3ab61f1a195d6557289127d01a1101ee18 Mon Sep 17 00:00:00 2001 From: Andy Bradshaw Date: Fri, 6 Dec 2024 22:46:26 -0500 Subject: [PATCH] Rethrow exception in migration task (#595) --- src/java/org/apache/cassandra/service/MigrationTask.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/org/apache/cassandra/service/MigrationTask.java b/src/java/org/apache/cassandra/service/MigrationTask.java index 1fc1db13b8..8f3f0283ab 100644 --- a/src/java/org/apache/cassandra/service/MigrationTask.java +++ b/src/java/org/apache/cassandra/service/MigrationTask.java @@ -132,6 +132,7 @@ public boolean isLatencyForSnitch() catch (Exception e) { version.ifPresent(v -> MigrationManager.removeEndpointFromSchemaPullVersion(v, endpoint)); + throw e; } } }