[Bugs] [Bug 1498966] Test case ./tests/bugs/bug-1371806_1.t is failing

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 22 17:19:20 UTC 2017


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



--- Comment #10 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18436 committed in master by \"MOHIT
AGRAWAL\" <moagrawa at redhat.com> with a commit message- cluster/dht: Serialize
mds update code path with lookup unwind in selfheal

Problem: Sometime test case ./tests/bugs/bug-1371806_1.t is failing on
         centos due to race condition between fresh lookup and setxattr fop.

Solution: In selfheal code path we do save mds on inode_ctx, it was not
          serialize with lookup unwind. Due to this behavior after lookup
          unwind if mds is not saved on inode_ctx and if any subsequent
          setxattr fop call it has failed with ENOENT because
          no mds has found on inode ctx.To resolve it save mds on
          inode ctx has been serialize with lookup unwind.

BUG: 1498966
Change-Id: I8d4bb40a6cbf0cec35d181ec0095cc7142b02e29
Signed-off-by: Mohit Agrawal <moagrawa at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=yCOgnDkzXL&a=cc_unsubscribe


More information about the Bugs mailing list