From d6109e648212c03f268518a401b667c5c1d60148 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Mon, 9 Mar 2009 20:50:08 +0100
Subject: [PATCH] hbal: allow, but warn on, N+1 failed clusters

Based on the node changes, we remove the N+1 check and only show a
warning instead.
---
 src/hbal.hs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/hbal.hs b/src/hbal.hs
index 070c16667..5e5c00a27 100644
--- a/src/hbal.hs
+++ b/src/hbal.hs
@@ -148,8 +148,7 @@ main = do
              (length bad_nodes) (length bad_instances)
 
   when (length bad_nodes > 0) $ do
-         putStrLn "Cluster is not N+1 happy, please fix N+1 first. Exiting."
-         exitWith $ ExitFailure 1
+         putStrLn "Cluster is not N+1 happy, continuing but no guarantee that cluster will end N+1 happy."
 
   when (optShowNodes opts) $
        do
-- 
GitLab