[Bugs] [Bug 1623759] New: [Disperse] Don' t send final version update if non data fop succeeded

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 30 06:46:49 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1623759

            Bug ID: 1623759
           Summary: [Disperse] Don't send final version update if non data
                    fop succeeded
           Product: GlusterFS
           Version: mainline
         Component: disperse
          Assignee: bugs at gluster.org
          Reporter: aspandey at redhat.com
                CC: bugs at gluster.org



Description of problem:


When optimistic changelog is enabled, we do not set dirty xattr for non data
fops in preop. While releasing lock, if everything went well and all the bricks
are up, we just send version update on all he bricks of that subvol.

This final xattrop to update a version is actually not required in this case as
it will just increase the version and will serve no purpose as dirty was not
set at all.

We will have two advantage if we do not update finale version in this case-

1 - We can avoid sending final xattrop which in turn improves performance.

2 - Let's say the final xattrop, during unlock, failed on 3 bricks (config 4+2)
and succeeded on 3 brick because of brick failure or connection fluctuation,
then the file will be inaccessible even if stats of that file are fine.

If we do not do final xattrop in this case we can avoid one case where this
case might hit.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list