Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1248887

Summary: AFR: Make [f]xattrop metadata transaction
Product: [Community] GlusterFS Reporter: Krutika Dhananjay <kdhananj>
Component: replicateAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1248890 (view as bug list) Environment:
Last Closed: 2016-06-16 13:28:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1248890    

Description Krutika Dhananjay 2015-07-31 06:05:26 UTC
Description of problem:
(f)xattrop fops need to be made into transactions in order for these to work correctly when requested by translators that are above AFR in the client graph.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2015-07-31 06:06:01 UTC
REVIEW: http://review.gluster.org/11809 (cluster/afr: Make [f]xattrop metadata transaction) posted (#2) for review on master by Krutika Dhananjay (kdhananj)

Comment 2 Anand Avati 2015-07-31 06:11:40 UTC
REVIEW: http://review.gluster.org/11809 (cluster/afr: Make [f]xattrop metadata transaction) posted (#3) for review on master by Krutika Dhananjay (kdhananj)

Comment 3 Anand Avati 2015-08-21 10:53:40 UTC
REVIEW: http://review.gluster.org/11809 (cluster/afr: Make [f]xattrop metadata transaction) posted (#5) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 4 Anand Avati 2015-08-30 07:45:52 UTC
COMMIT: http://review.gluster.org/11809 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit b0e125e937cbf4bb02baaa799ff4968a4d1cb1d0
Author: Pranith Kumar K <pkarampu>
Date:   Sun Jul 26 11:19:28 2015 +0530

    cluster/afr: Make [f]xattrop metadata transaction
    
    Problem:
    When xlators above afr do [f]xattrop when one of the bricks is down, after the
    brick comes backup, the metadata is not healed because [f]xattrop is not
    considered a transaction.
    
    Fix:
    Treat [f]xattrop as transaction so that changes done by xlators above afr are
    marked for heal when some of the bricks were down at the time of [f]xattrop.
    
    Change-Id: Iea180f9a456509847c3cd8d5d59a0cdc2712d334
    BUG: 1248887
    Signed-off-by: Pranith Kumar K <pkarampu>
    Reviewed-on: http://review.gluster.org/11809
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Ravishankar N <ravishankar>
    Tested-by: NetBSD Build System <jenkins.org>

Comment 5 Niels de Vos 2016-06-16 13:28:07 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user