diff options
author | Milind Changire <mchangir@redhat.com> | 2017-01-05 19:53:19 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2019-10-31 14:31:49 +0000 |
commit | 42c1605f42b89520d4d05806d7074e9e93b63640 (patch) | |
tree | fb483e0d71782142923595c87c16d24791a0222c /.mailmap | |
parent | f306a170e70fe9216dcc8e8bb943cf3704cca7d3 (diff) |
tools/glusterfind: handle offline bricks
Problem:
glusterfind is unable to copy remote output file to local node when a
remove-brick is in progress on the remote node. After copying remote
files, in the --full output listing path, a "sort -u" command is run on
the collected files. However, "sort" exits with an error code if it
finds any file missing.
Solution:
Maintain a map of (pid, output file) when the node commands are started
and remove the mapping for the pid for which the command returns an
error. Use the list of files present in the map for the "sort" command.
Change-Id: Ie6e019037379f4cb163f24b1c65eb382efc2fb3b
fixes: bz#1410439
Signed-off-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions