Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MB-100: handle IndexError in iostats collector

Change-Id: I626771b9e45fe424b3d7491f6b72b7bc52f8afe6
Reviewed-on: http://review.couchbase.org/22623
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
  • Loading branch information...
commit 63ff2ccf94f5dab1f683bb96b55f75272078b9b5 1 parent af25792
@pavel-paulau pavel-paulau authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/membase/performance/stats.py
View
2  lib/membase/performance/stats.py
@@ -444,7 +444,7 @@ def iostats(self, nodes, frequency, verbosity=False):
try:
kB_read, kB_wrtn, util, iowait, idle = \
self._extract_io_info(shell)
- except (ValueError, TypeError):
+ except (ValueError, TypeError, IndexError):
continue
if kB_read and kB_wrtn:
self._task["iostats"].append({"time": time.time(),
Please sign in to comment.
Something went wrong with that request. Please try again.