[Bugs] [Bug 1254438] New: Tiering: segfault when trying to rename a file

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 18 07:16:49 UTC 2015


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

            Bug ID: 1254438
           Summary: Tiering: segfault when trying to rename a file
           Product: GlusterFS
           Version: 3.7.3
         Component: tiering
          Keywords: Triaged
          Severity: medium
          Priority: high
          Assignee: bugs at gluster.org
          Reporter: rkavunga at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org, rgowdapp at redhat.com
        Depends On: 1250828



+++ This bug was initially created as a clone of Bug #1250828 +++

Description of problem:

On a tier volume with both cold and hot tiers as pure distribute, when trying
to move a promoted/demoted file, mount process crashed (if build with debug
enable, other wise assertion failure).

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

mainline

How reproducible:

100%

Steps to Reproduce:
1.create a tier volume (cold and hot tier as pure distribute)
2.create some file on mount point
3.let some files promote/demote
4.rename a promoted/demoted file

Actual results:

mount crash

Expected results:

mount should not crash

Additional info:

binary's are build with --debug-enable flag

--- Additional comment from Mohammed Rafi KC on 2015-08-06 02:08:32 EDT ---

when creating a link file, dictionary used for passing xattributes contains
some keys used for lookup.

--- Additional comment from Anand Avati on 2015-08-06 02:12:19 EDT ---

REVIEW: http://review.gluster.org/11838 (dht/tiering : create new dictionary
during migration) posted (#2) for review on master by mohammed rafi  kc
(rkavunga at redhat.com)

--- Additional comment from Anand Avati on 2015-08-06 09:01:50 EDT ---

COMMIT: http://review.gluster.org/11838 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit a3faffb259d5288907fac33a2822a8f61c3e86fe
Author: Mohammed Rafi KC <rkavunga at redhat.com>
Date:   Wed Aug 5 19:34:01 2015 +0530

    dht/tiering : create new dictionary during migration

    To avoid setting wrong xattr during creating link file

    Change-Id: Iad8de3521eae17e510035ed42e3e01933d647096
    BUG: 1250828
    Signed-off-by: Mohammed Rafi KC <rkavunga at redhat.com>
    Reviewed-on: http://review.gluster.org/11838
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1250828
[Bug 1250828] Tiering: segfault when trying to rename a file
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list