diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2013-10-08 17:14:40 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-10-10 10:38:53 -0700 |
commit | 86f936f4381a8d8490255ef439ec3c44ca79fe76 (patch) | |
tree | 8c460afb720ce26cf53e3b7448bacbb239339bcf /api/src | |
parent | c436b89a7111bbaaed9f034799986ea7c760ce55 (diff) |
cluster/afr: Handle quota size xattr separately in lookup
Quota size xattrs are not maintained by afr. There is a
possibility that they differ even when both the directory
changelog xattrs suggest everything is fine. So if there is at
least one 'source' check among the sources which has the maximum
quota size. Otherwise check among all the available ones for
maximum quota size. This way if there is a source and stale copies
it always votes for the 'source'.
Change-Id: Ia222379cbafa7043dd03f533c105860f2c7b8b0d
BUG: 1016683
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/6052
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Varun Shastry <vshastry@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'api/src')
0 files changed, 0 insertions, 0 deletions