Skip to content

Commit

Permalink
Fix boolean in long-pause bootstrap check (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
zpear authored Apr 29, 2024
1 parent 053cfd9 commit ed39b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java/org/apache/cassandra/service/StorageService.java
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ private boolean bootstrap(final Collection<Token> tokens)
bootstrapStream.get();
isBootstrapMode = false;
logger.info("Bootstrap streaming completed for tokens {}", tokens);
return StorageService.instance.hasNonTransientError(StorageServiceMBean.NonTransientError.BOOTSTRAP_ERROR);
return !StorageService.instance.hasNonTransientError(StorageServiceMBean.NonTransientError.BOOTSTRAP_ERROR);
}
catch (Throwable e)
{
Expand Down

0 comments on commit ed39b8a

Please sign in to comment.