[Gluster-users] ERROR in glusterfs2.0.4 using afr+dht

Vikas Gorur vikas at gluster.com
Wed Aug 19 08:03:56 UTC 2009


----- "eagleeyes" <eagleeyes at 126.com> wrote:

> HI all:
>      My glusterfs  storage was using for xen images , which configure
> afr+dht ,but had some  error 

Thanks for reporting this crash. This has been fixed in release-2.0 by:

commit f4513b4de104f1c6f40f7bbe0a4bd698340db805
Author: Anand Avati <avati at gluster.com>
Date:   Fri Jul 17 15:34:14 2009 +0000

    Do not failover readdir in replicate
    
    Backport of http://patches.gluster.com/patch/561/ to release-2.0
    
    Also, the failover version of afr_readdir_cbk is buggy and
    crashes when it is called after a failover inevitably
    
    Signed-off-by: Anand V. Avati <avati at dev.gluster.com>
    
    BUG: 150 (AFR readdir should not failover to other subvolume)
    URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=150

and in mainline by:

commit 77d8cfeab52cd19f3b70abd9c3a2c4bbc9219bff
Author: Vikas Gorur <vikas at gluster.com>
Date:   Thu Jun 11 08:47:06 2009 +0000

    Do not fail over readdir in replicate.
    
    If readdir fails on a subvolume, do not
    fail-over to the next subvolume, since the
    order of entries and offsets won't be same
    on all subvolumes.
    
    Signed-off-by: Anand V. Avati <avati at dev.gluster.com>

Vikas
-- 
Engineer - http://gluster.com/




More information about the Gluster-users mailing list