diff options
author | Ashish Pandey <aspandey@redhat.com> | 2018-09-06 11:20:32 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2018-09-07 07:29:39 +0000 |
commit | 527dffeb699e5ac857a798d462a3fba4aed3c5a5 (patch) | |
tree | 2cad360f66357051a3b971fad85f431b1b65afcf /tests/basic/distribute | |
parent | 18543fec0da8d0459501fb96f8efb019190bf223 (diff) |
cluster/ec: Don't update trusted.ec.version if fop succeeds
If a fop has succeeded on all the bricks and trying to release
the lock, there is no need to update the version for the
file/entry. All it will do is to increase the version from
x to x+1 on all the bricks.
If this update (x to x+1) fails on some brick, this will indicate
that the entry is unhealthy while in realty everything is fine
with the entry.
Avoiding this update will help to not to send one xattrop
at the end of the fops. Which will decrease the chances
of entries being in unhealthy state and also improve the
performance.
Change-Id: Id9fca6bd2991425db6ed7d1f36af27027accb636
fixes: bz#1623759
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Diffstat (limited to 'tests/basic/distribute')
0 files changed, 0 insertions, 0 deletions