diff options
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r-- | xlators/cluster/afr/src/afr-common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c index 2e5ca71b219..c23e329dfcb 100644 --- a/xlators/cluster/afr/src/afr-common.c +++ b/xlators/cluster/afr/src/afr-common.c @@ -3498,7 +3498,15 @@ afr_notify (xlator_t *this, int32_t event, priv->last_event[idx] = event; } UNLOCK (&priv->lock); + + break; + + case GF_EVENT_TRIGGER_HEAL: + gf_log (this->name, GF_LOG_INFO, "Self-heal was triggered" + " manually. Start crawling"); + call_psh = 1; break; + default: propagate = 1; break; |