diff options
author | Jeff Darcy <jdarcy@fb.com> | 2017-07-25 17:40:49 -0700 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-09-13 17:38:36 +0000 |
commit | 3b0757b51a34bc726a40935e644f0e0498e7beff (patch) | |
tree | a239e393e2e0e77c257de6e05feeb4c8a8189fbd /libglusterfs/src | |
parent | e6245ebc0bb373623e624d8a75569137d580df46 (diff) |
glusterd: make peerfile parsing more robust
Summary: This will now skip files in the peer directory that don't have names or contents that match what we expect for a valid peerfile, instead of blowing up the entire glusterd initialization as soon as the first unexpected thing happens.
Test Plan: Test (peer-parsing.t) included.
Reviewers: #posix_storage, kvigor
Reviewed By: kvigor
Subscribers: kvigor
Differential Revision: https://phabricator.intern.facebook.com/D5498639
Tags: gluster, posix_storage
Change-Id: Ifad9b047a828c2f76f97d0c39f305b7ec5a8ca4c
Signed-off-by: Jeff Darcy <jdarcy@fb.com>
Reviewed-on: https://review.gluster.org/18276
Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Tested-by: Jeff Darcy <jeff@pl.atyp.us>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions