summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2017-03-30 14:47:45 +0530
committerJeff Darcy <jeff@pl.atyp.us>2017-03-31 09:06:22 -0400
commite325479cf222d2f25dbc0a4c6b80bfe5a7f09f43 (patch)
tree2e8078f8e08bdb7bb02908e5491ab06ea4ef5cee /rpc/rpc-lib
parenta7ce0548b7969050644891cd90c0bf134fa1594c (diff)
glusterd: reset pid to -1 if brick is not online
While populating brick details in gluster volume status response payload if a brick is not online then pid should be reset back to -1 so that volume status output doesn't show up the pid which was not cleaned up especially with brick multiplexing where multiple bricks belong to same process. Change-Id: Iba346da9a8cb5b5f5dd38031d4c5ef2097808387 BUG: 1437494 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: https://review.gluster.org/16971 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Gaurav Yadav <gyadav@redhat.com> Reviewed-by: Prashanth Pai <ppai@redhat.com> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Diffstat (limited to 'rpc/rpc-lib')
0 files changed, 0 insertions, 0 deletions