[Bugs] [Bug 1419846] New: removing warning related to enum, to let the build take place without errors for 3.10

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 7 08:49:42 UTC 2017


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

            Bug ID: 1419846
           Summary: removing warning related to enum, to let the build
                    take place without errors for 3.10
           Product: GlusterFS
           Version: 3.8
         Component: tiering
          Keywords: Triaged
          Severity: urgent
          Priority: high
          Assignee: bugs at gluster.org
          Reporter: hgowtham at redhat.com
        QA Contact: bugs at gluster.org
                CC: amukherj at redhat.com, bugs at gluster.org
        Depends On: 1418973



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

Description of problem:

The usage of two different enums checked under one enum in the function
glusterd_remove_brick_validate_bricks might cause serious issues when the
function uses various cases.

How reproducible:
no change in the current functionality. 
Build will throw errors. 

Steps to Reproduce:
1.with the source code trying to make it
2.will throw warnings
3.will fail if we try to build packages.

Actual results:
build failure with error

Expected results:
To build without error and work in future without breaking.

Additional info:

--- Additional comment from Worker Ant on 2017-02-03 05:33:07 EST ---

REVIEW: https://review.gluster.org/16539 (Tier: remove warning related to the
enum) posted (#1) for review on master by hari gowtham
(hari.gowtham005 at gmail.com)

--- Additional comment from Worker Ant on 2017-02-03 06:08:20 EST ---

REVIEW: https://review.gluster.org/16539 (Tier: remove warning related to the
enum) posted (#2) for review on master by hari gowtham
(hari.gowtham005 at gmail.com)

--- Additional comment from Worker Ant on 2017-02-06 02:10:09 EST ---

REVIEW: https://review.gluster.org/16539 (Tier: remove warning related to the
enum) posted (#3) for review on master by hari gowtham
(hari.gowtham005 at gmail.com)

--- Additional comment from Worker Ant on 2017-02-06 06:27:46 EST ---

REVIEW: https://review.gluster.org/16539 (Tier: remove warning related to the
enum) posted (#4) for review on master by hari gowtham
(hari.gowtham005 at gmail.com)

--- Additional comment from Worker Ant on 2017-02-07 00:12:33 EST ---

COMMIT: https://review.gluster.org/16539 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit f2133923b8d8851943c5676b88c5ce67725eabe5
Author: hari gowtham <hgowtham at redhat.com>
Date:   Fri Feb 3 15:55:47 2017 +0530

    Tier: remove warning related to the enum

    PROBLEM: In the tier as a service patch the enums for tier (from
    gf1_op_command and gf_defrag_command) are put into a single enum
    gf_defrag_command which causes a warning that will make the build
    fail.

    FIX: send both the enum and eliminate the warning.

    Change-Id: I899ff622dfb07134e6459aa65f65ea7252765293
    BUG: 1418973
    Signed-off-by: hari gowtham <hgowtham at redhat.com>
    Reviewed-on: https://review.gluster.org/16539
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Tested-by: hari gowtham <hari.gowtham005 at gmail.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1418973
[Bug 1418973] removing warning related to enum, to let the build take place
without errors for 3.10
-- 
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