Bug 1251454 - marker: set loc.parent if NULL
Summary: marker: set loc.parent if NULL
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vijaikumar Mallikarjuna
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1251457 1257441
TreeView+ depends on / blocked
 
Reported: 2015-08-07 10:50 UTC by Vijaikumar Mallikarjuna
Modified: 2016-06-16 13:29 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1251457 1257441 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:29:42 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Vijaikumar Mallikarjuna 2015-08-07 10:50:37 UTC
Lot of errors seen in the brick logs in one of the community user setup:

storage3__export-brick_home-brick1-data.log:[2015-08-04 22:33:46.346073] W [marker-quota.c:3379:_mq_initiate_quota_txn] 0-vol_home-marker: parent is NULL for <gfid:448efb74-5461-442c-9e2e-6009a01207db>, aborting updation txn
storage3__export-brick_home-brick1-data.log:[2015-08-04 22:33:46.346895] W [marker-quota.c:3379:_mq_initiate_quota_txn] 0-vol_home-marker: parent is NULL for <gfid:448efb74-5461-442c-9e2e-6009a01207db>, aborting updation txn
storage3__export-brick_home-brick1-data.log:[2015-08-04 22:33:46.347586] W [marker-quota.c:3379:_mq_initiate_quota_txn] 0-vol_home-marker: parent is NULL for <gfid:448efb74-5461-442c-9e2e-6009a01207db>, aborting updation txn


if loc.parent is NULL, get it from inode table and remove the log is parent not found

Comment 1 Anand Avati 2015-08-07 10:55:41 UTC
REVIEW: http://review.gluster.org/11863 (marker: don't log warning in txn if parent is NULL) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 2 Anand Avati 2015-08-07 11:44:28 UTC
REVIEW: http://review.gluster.org/11863 (marker: don't log warning in txn if parent is NULL) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 3 Anand Avati 2015-08-10 06:19:58 UTC
REVIEW: http://review.gluster.org/11863 (marker: fix log when loc.parent and inode gfid is NULL) posted (#3) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 4 Anand Avati 2015-08-14 00:53:36 UTC
REVIEW: http://review.gluster.org/11863 (marker: fix log when loc.parent and inode gfid is NULL) posted (#5) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 5 Anand Avati 2015-08-21 03:53:05 UTC
REVIEW: http://review.gluster.org/11863 (marker: fix log when loc.parent and inode gfid is NULL) posted (#8) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 6 Anand Avati 2015-08-24 08:43:07 UTC
REVIEW: http://review.gluster.org/11995 (posix: xattrop 'GF_XATTROP_GET_AND_SET' implementation) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 7 Anand Avati 2015-08-24 10:22:33 UTC
REVIEW: http://review.gluster.org/11995 (posix: xattrop 'GF_XATTROP_GET_AND_SET' implementation) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 8 Anand Avati 2015-08-26 08:06:59 UTC
REVIEW: http://review.gluster.org/11995 (posix: xattrop 'GF_XATTROP_GET_AND_SET' implementation) posted (#5) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 9 Anand Avati 2015-08-27 13:44:31 UTC
COMMIT: http://review.gluster.org/11995 committed in master by Raghavendra G (rgowdapp@redhat.com) 
------
commit 6ad05cd4b7995a3791a9e45ce03dc31641e8d78f
Author: vmallika <vmallika@redhat.com>
Date:   Mon Aug 24 13:14:59 2015 +0530

    posix: xattrop 'GF_XATTROP_GET_AND_SET' implementation
    
    GF_XATTROP_GET_AND_SET stores the existing xattr
    value in xdata and sets the new value
    
    xattrop was reusing input xattr dict to set the results
    instead of creating new dict.
    This can be problem for server side xlators as the inout dict
    will have the value changed.
    
    Change-Id: I43369082e1d0090d211381181e9f3b9075b8e771
    BUG: 1251454
    Signed-off-by: vmallika <vmallika@redhat.com>
    Reviewed-on: http://review.gluster.org/11995
    Tested-by: Gluster Build System <jenkins@build.gluster.com>
    Tested-by: NetBSD Build System <jenkins@build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp@redhat.com>

Comment 10 Anand Avati 2015-08-27 16:10:08 UTC
REVIEW: http://review.gluster.org/12032 (marker: preserve previous dirty flag during update txn) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 11 Anand Avati 2015-08-27 16:12:02 UTC
REVIEW: http://review.gluster.org/12032 (marker: preserve previous dirty flag during update txn) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 12 Anand Avati 2015-08-28 10:44:22 UTC
REVIEW: http://review.gluster.org/12032 (marker: preserve previous dirty flag during update txn) posted (#3) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 13 Nagaprasad Sathyanarayana 2015-10-25 14:55:31 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 14 Niels de Vos 2016-06-16 13:29:42 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


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