diff options
author | karthik-us <ksubrahm@redhat.com> | 2017-10-25 12:42:23 +0530 |
---|---|---|
committer | karthik-us <ksubrahm@redhat.com> | 2017-11-17 16:46:02 +0530 |
commit | 1a7cf012d2717454d2f83949cd7aa0c462ae1b3d (patch) | |
tree | 40f8b63ab0946035fa1c0f4ff7bd2d36f76446bb /extras/hook-scripts/S40ufo-stop.py | |
parent | 271b7de727ea77bf06402562f449d6df969a3f99 (diff) |
cluster/afr: Print heal info split-brain output in stream fashion
Problem:
When we trigger the heal info split-brain command the o/p is not
streamed as it is received, but dumped at the end for all the bricks
together. This gives a perception that the command is hung.
Fix:
When we get a split brain entry while crawling throught the pending
heal entries, flush that immediately so that it prints the output
in a stream fashion and doesn't look like the cli is hung.
Change-Id: I7547e86b83202d66616749b8b31d4d0dff0abf07
BUG: 1514419
Signed-off-by: karthik-us <ksubrahm@redhat.com>
(cherry picked from commit 05f9c13f4d69e4113f5a851f4097ef35ba3f33b2)
Diffstat (limited to 'extras/hook-scripts/S40ufo-stop.py')
0 files changed, 0 insertions, 0 deletions