summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/cluster/ec/src/ec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c
index ab26e882a2e..c803ebfa796 100644
--- a/xlators/cluster/ec/src/ec.c
+++ b/xlators/cluster/ec/src/ec.c
@@ -519,7 +519,8 @@ unlock:
}
if (ec->shd.iamshd &&
- ec->xl_notify_count == ec->nodes) {
+ ec->xl_notify_count == ec->nodes &&
+ event == GF_EVENT_CHILD_UP) {
ec_launch_replace_heal (ec);
}
out: