summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-data.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-data.c b/xlators/cluster/afr/src/afr-self-heal-data.c
index 429f3593bfc..e04b6575e60 100644
--- a/xlators/cluster/afr/src/afr-self-heal-data.c
+++ b/xlators/cluster/afr/src/afr-self-heal-data.c
@@ -488,6 +488,10 @@ afr_does_size_mismatch (xlator_t *this, unsigned char *sources,
if (!sources[i])
continue;
+ if (AFR_IS_ARBITER_BRICK (priv, i) &&
+ (replies[i].poststat.ia_size == 0))
+ continue;
+
if (!min)
min = &replies[i].poststat;