[Bugs] [Bug 1226117] [RFE] Return proper error codes in case of snapshot failure

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 9 14:18:44 UTC 2015


--- Comment #7 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11042 committed in release-3.7 by Krishnan
Parthasarathi (kparthas at redhat.com) 
commit 952ea9ae43d7668cf9661eb694757e17a2a6ae9e
Author: Avra Sengupta <asengupt at redhat.com>
Date:   Tue May 5 18:08:25 2015 +0530

    glusterd/snapshot: Return correct errno in events of failure - PATCH 2

           Backport of http://review.gluster.org/#/c/10588/

    ENUM           RETCODE        ERROR
    EG_INTRNL      30800          Internal Error
    EG_OPNOTSUP    30801          Gluster Op Not Supported
    EG_ANOTRANS    30802          Another Transaction in Progress
    EG_BRCKDWN     30803          One or more brick is down
    EG_NODEDWN     30804          One or more node is down
    EG_HRDLMT      30805          Hard Limit is reached
    EG_NOVOL       30806          Volume does not exist
    EG_NOSNAP      30807          Snap does not exist
    EG_RBALRUN     30808          Rebalance is running
    EG_VOLRUN      30809          Volume is running
    EG_VOLSTP      30810          Volume is not running
    EG_VOLEXST     30811          Volume exists
    EG_SNAPEXST    30812          Snapshot exists
    EG_ISSNAP      30813          Volume is a snap volume
    EG_GEOREPRUN   30814          Geo-Replication is running
    EG_NOTTHINP    30815          Bricks are not thinly provisioned

    Change-Id: I49a170cdfd77df11fe677e09f4e063d99b159275
    BUG: 1226117
    Signed-off-by: Avra Sengupta <asengupt at redhat.com>
    (cherry picked from commit 2df57ab7dc7b9d7deb0eebad96036149760d607b)
    Reviewed-on: http://review.gluster.org/11042
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Rajesh Joseph <rjoseph at redhat.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>

You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3l3l8NXsF9&a=cc_unsubscribe

More information about the Bugs mailing list