diff options
author | Joseph Fernandes <josferna@redhat.com> | 2015-10-29 12:06:57 +0530 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2015-11-04 13:13:07 -0800 |
commit | dab82c7ba3901cfdf94db0cd69a46ea396cf920a (patch) | |
tree | 252c51e70c8372ad0d5a3633dc5ee93792c6da21 /cli/src/cli-rpc-ops.c | |
parent | 698038f67c00bd528a7be89a0fccdd52914e01ce (diff) |
tier/dht: Ignoring replica for migration counting
We used to count replica files for migration counting even though
they were ignore for migration as the replica brick didnt have
the ownership (as per the replication xlator either AFR/EC).
As a result the number of files migrated would show a wrong count,
i.e each replicated file would be counted 1 + number of replica.
This patch ignores such cases.
Change-Id: I91aa352ee3b0a5029790653266e9333f3947d0ac
BUG: 1276141
Signed-off-by: Joseph Fernandes <josferna@redhat.com>
Reviewed-on: http://review.gluster.org/12453
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'cli/src/cli-rpc-ops.c')
0 files changed, 0 insertions, 0 deletions