Permalink
Browse files

Merge pull request #595 from michaelmosmann/master

hector removes downed host if ring info is empty
  • Loading branch information...
2 parents ab016fe + 0ea55f3 commit 925908e94e858e73f1c402c160c97b49dd528458 @zznate zznate committed Mar 8, 2013
@@ -131,6 +131,10 @@ private void retryDownedHosts() {
if( checkRing) {
// Let's check the ring just once per cycle.
ringInfo = buildRingInfo();
+ if (ringInfo!=null && ringInfo.isEmpty()) {
+ ringInfo = null;
+ log.warn("Got an empty ring info, maybe not enough permission");
+ }
}
Iterator<CassandraHost> iter = downedHostQueue.iterator();

0 comments on commit 925908e

Please sign in to comment.