Bug 1136822 - creating special files like device files is leading to pending data changelog when one of the brick is down
Summary: creating special files like device files is leading to pending data changelog...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On: 1132102
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-03 11:54 UTC by Pranith Kumar K
Modified: 2014-11-11 08:37 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.6.0beta1
Clone Of: 1132102
Environment:
Last Closed: 2014-11-11 08:37:39 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Pranith Kumar K 2014-09-03 11:54:43 UTC
+++ This bug was initially created as a clone of Bug #1132102 +++

Description of problem:
creating special files like device files is leading to pending data changelog when one of the brick is down

glusterd

gluster --mode=script volume create r2 replica 2 pranithk-laptop:/home/gfs/r2_0 pranithk-laptop:/home/gfs/r2_1
volume create: r2: success: please start the volume to access data
gluster --mode=script volume start r2
volume start: r2: success
mkdir: cannot create directory ‘/mnt/r2’: File exists

mount -t glusterfs pranithk-laptop:/r2 /mnt/r2


root@pranithk-laptop - ~ 
22:02:54 :) ⚡ cd /mnt/r2

root@pranithk-laptop - ~ 
22:02:54 :) ⚡ kill -9 18165 # Kill first brick


root@pranithk-laptop - /mnt/r2 
22:03:15 :) ⚡ mknod char c 0 0

root@pranithk-laptop - /mnt/r2 
22:03:26 :) ⚡ getfattr -d -m. -e hex /home/gfs/r2_?/char
getfattr: Removing leading '/' from absolute path names
# file: home/gfs/r2_1/char
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000
trusted.afr.r2-client-0=0x000000010000000000000000
trusted.gfid=0xf3d97062b3784cb5b18ce8682305406c



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


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2014-08-21 01:42:50 EDT ---

REVIEW: http://review.gluster.org/8506 (cluster/afr: Set pending changelog based on filetype for new entries) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu)

--- Additional comment from Anand Avati on 2014-08-21 10:53:56 EDT ---

COMMIT: http://review.gluster.org/8506 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit f83067f2a9fc5d85bbd985e14fcda07346371ec8
Author: Pranith Kumar K <pkarampu>
Date:   Thu Aug 21 10:44:14 2014 +0530

    cluster/afr: Set pending changelog based on filetype for new entries
    
    Change-Id: Ib6eea2dfe43aacf1f3446cc023adecbcf8645d48
    BUG: 1132102
    Signed-off-by: Pranith Kumar K <pkarampu>
    Reviewed-on: http://review.gluster.org/8506
    Reviewed-by: Anuradha Talur <atalur>
    Tested-by: Gluster Build System <jenkins.com>

Comment 1 Anand Avati 2014-09-03 12:02:33 UTC
REVIEW: http://review.gluster.org/8588 (cluster/afr: Set pending changelog based on filetype for new entries) posted (#1) for review on release-3.6 by Pranith Kumar Karampuri (pkarampu)

Comment 2 Anand Avati 2014-09-08 05:45:57 UTC
COMMIT: http://review.gluster.org/8588 committed in release-3.6 by Vijay Bellur (vbellur) 
------
commit 2efe31d4def8bd9170d000d0c4a05a4d00633805
Author: Pranith Kumar K <pkarampu>
Date:   Thu Aug 21 10:44:14 2014 +0530

    cluster/afr: Set pending changelog based on filetype for new entries
    
            Backport of http://review.gluster.org/8506
    
    BUG: 1136822
    Change-Id: Ia864040306405acf9ebddabf63e87dc2016372dd
    Signed-off-by: Pranith Kumar K <pkarampu>
    Reviewed-on: http://review.gluster.org/8588
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 3 Niels de Vos 2014-09-22 12:45:18 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 4 Niels de Vos 2014-11-11 08:37:39 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.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [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://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users


Note You need to log in before you can comment on or make changes to this bug.