diff options
| author | Martin Schwenke <martin@meltin.net> | 2013-08-08 16:02:44 +1000 |
|---|---|---|
| committer | Amitay Isaacs <amitay@gmail.com> | 2013-08-14 15:57:04 +1000 |
| commit | e6ce2f55ef9a7180e495fd1cdc8408a2a60dc87a (patch) | |
| tree | 16f0e137978d745e5a5ba6d28cc38662c8c7b44c | |
| parent | 35d9631eda65f73a8e6eb7e89142201c2d0d8d04 (diff) | |
eventscripts: Improve message logged when a counter hits a limit
It should print the actual number of consecutive failures rather than
the limit.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit ff5f0d1e29af2b293e30cdc54bed03a644be7038)
| -rwxr-xr-x | ctdb/config/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/functions b/ctdb/config/functions index 5aee5e5718..d9cf127967 100755 --- a/ctdb/config/functions +++ b/ctdb/config/functions @@ -1080,7 +1080,7 @@ ctdb_check_counter () { fi if $_hit ; then if [ "$_msg" = "error" ] ; then - echo "ERROR: $_limit consecutive failures for $_service_name, marking node unhealthy" + echo "ERROR: $_size consecutive failures for $_service_name, marking node unhealthy" exit 1 else return 1 |
