summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r--xlators/cluster/dht/src/dht-common.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index 29061b8f0de..7710fbd2286 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -8682,15 +8682,14 @@ dht_notify (xlator_t *this, int event, void *data, ...)
break;
- case GF_EVENT_CHILD_MODIFIED:
+ case GF_EVENT_SOME_DESCENDENT_UP:
subvol = data;
-
conf->gen++;
propagate = 1;
break;
- case GF_EVENT_SOME_CHILD_DOWN:
+ case GF_EVENT_SOME_DESCENDENT_DOWN:
subvol = data;
propagate = 1;
@@ -8735,7 +8734,7 @@ dht_notify (xlator_t *this, int event, void *data, ...)
for (i = 0; i < conf->subvolume_cnt; i++)
if (conf->last_event[i] != event)
- event = GF_EVENT_CHILD_MODIFIED;
+ event = GF_EVENT_SOME_DESCENDENT_DOWN;
break;
case GF_EVENT_CHILD_CONNECTING: