[Bugs] [Bug 1217939] Have a fixed name for common meta-volume for nfs, snapshot and geo-rep and mount it at a fixed mount location

bugzilla at redhat.com bugzilla at redhat.com
Mon May 4 14:23:05 UTC 2015


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



--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10506 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit 10d588fd849d92c3d7f4f86029b76098230c93b6
Author: Kotresh HR <khiremat at redhat.com>
Date:   Thu Apr 30 12:02:28 2015 +0530

    geo-rep: Fix minor bugs in meta-volume setup

    1. Access unreferenced access of fd:
           In meta volume configuration for geo-rep, if
       geo-rep directory is not created yet, open fails
       with no fd, but it is accessed in close(fd). So
       after creating 'geo-rep' directory in meta-volume,
       open the lock file to get fd.

    2. Fix volume_id in forming lock file name.
           For the very first time, gconf.volume_id would
       be null, as config is not reloaded yet. Hence, use
       'uuid' function to get the volume id.

    BUG: 1217939
    Change-Id: I06bf659ec506943c7ebf5303cc56a2e7748fbad0
    Signed-off-by: Kotresh HR <khiremat at redhat.com>
    Reviewed-on: http://review.gluster.org/10458
    Reviewed-on: http://review.gluster.org/10506
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System
    Reviewed-by: Aravinda VK <avishwan at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list