diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java index 8b9fea029f..275be98d54 100644 --- a/src/java/org/apache/cassandra/service/StorageService.java +++ b/src/java/org/apache/cassandra/service/StorageService.java @@ -1616,6 +1616,7 @@ private boolean bootstrap(final Collection tokens) logger.info("Stopped waiting for bootstrap streaming to complete because detected a bootstrap error.", SafeArg.of("nonTransientErrors", getNonTransientErrors())); break; } + bootstrapStream.cancel(true); Uninterruptibles.sleepUninterruptibly(1, TimeUnit.SECONDS); } isBootstrapMode = false;