Skip to content

Commit

Permalink
cancel streams
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Guo committed Dec 13, 2024
1 parent dd385f9 commit 35cf3ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/java/org/apache/cassandra/service/StorageService.java
Original file line number Diff line number Diff line change
Expand Up @@ -1616,6 +1616,7 @@ private boolean bootstrap(final Collection<Token> 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;
Expand Down

0 comments on commit 35cf3ec

Please sign in to comment.