summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/nsr-server/src/recon_notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/nsr-server/src/recon_notify.c')
-rw-r--r--xlators/cluster/nsr-server/src/recon_notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/nsr-server/src/recon_notify.c b/xlators/cluster/nsr-server/src/recon_notify.c
index 9cf2fce5d..7a0de85b1 100644
--- a/xlators/cluster/nsr-server/src/recon_notify.c
+++ b/xlators/cluster/nsr-server/src/recon_notify.c
@@ -133,6 +133,7 @@ nsr_recon_set_leader (xlator_t *this)
// TBD - error handling
ctx->last_reconciled_term = priv->current_term;
+ priv->index = 0; // reset changelog index
atomic_fetch_and(&(priv->fence_io), 0);
return;