[Bugs] [Bug 1584483] New: afr: don' t update readables if inode refresh failed on all children

bugzilla at redhat.com bugzilla at redhat.com
Thu May 31 03:13:17 UTC 2018


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

            Bug ID: 1584483
           Summary: afr: don't update readables if inode refresh failed on
                    all children
           Product: GlusterFS
           Version: mainline
         Component: replicate
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org



Description of problem:

To see if BZ 1329505 can be solved since the stop gap fix for it is being
reverted at https://review.gluster.org/#/c/20028 . */ 

Problem: If inode refresh failed on all children of afr due to ENOENT (say file
migrated by dht), it resets the readables to zero. Any inflight txn which then
later comes on the inode fails with EIO because no readable children present
for the inode.

Fix: Don't update readables when inode refresh fails on *all* children of afr.
In that way any inflight txns will either proceed with its own inode refresh if
needed and fail it with the right errno or use the old value of readables and
continue with the txn.

-- 
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