diff options
author | Sanoj Unnikrishnan <sunnikri@redhat.com> | 2017-07-19 18:40:38 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2017-09-14 17:55:30 +0000 |
commit | 777ad8f6a17d11e4582cf11d332a1a4d4c0c706f (patch) | |
tree | 2acf2ea99924aacdb356dc78834cb34a78838a87 /geo-replication | |
parent | e4a59b384f5bbaaeb937a53cef64f4e388f85153 (diff) |
Heal root xattr correctly upon an add-brick operation
When an add-brick is performed the root path xattr is healed using a hook
script. For a volume in stopped state, the hook script is triggered in post
op of add-brick. Otherwise, if the volume is in started state the hook script
is started on a subsequent volume start. The script unlinks itself after
execution.
The issue is that current hook script does not work when you have multiple
volumes in stopped state. A hook script meant for volume1 can get trigerred
during start of volume2.
Fix: create separate hook script links for individual volumes.
Bug: 1472609
Change-Id: If5f056509505fdbbbf73d3363e9966047ae6a3d3
Signed-off-by: Sanoj Unnikrishnan <sunnikri@redhat.com>
Reviewed-on: https://review.gluster.org/17824
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'geo-replication')
0 files changed, 0 insertions, 0 deletions