Bug 1520974

Summary: Compiler warning in dht-common.c because of a switch statement on a boolean
Product: [Community] GlusterFS Reporter: Shreyas Siravara <sshreyas>
Component: distributeAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, nbalacha
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-4.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-15 11:22:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shreyas Siravara 2017-12-05 14:53:13 UTC
Description of problem: Build warning because dht-common.c does a `switch` on a boolean.

Comment 1 Worker Ant 2017-12-05 14:55:20 UTC
REVIEW: https://review.gluster.org/18922 (cluster/dht: Fix build error due to switch statement on a boolean) posted (#1) for review on master by Shreyas Siravara

Comment 2 Worker Ant 2017-12-05 20:35:50 UTC
COMMIT: https://review.gluster.org/18922 committed in master by \"Shreyas Siravara\" <sshreyas> with a commit message- cluster/dht: Fix build error due to switch statement on a boolean

Change-Id: Idf672b435e389baada732f609398404479306909
BUG: 1520974

Comment 3 Worker Ant 2017-12-06 16:36:39 UTC
REVIEW: https://review.gluster.org/18966 (dht/crypt/tier: Fix use of booleans as integers) posted (#1) for review on master by Shyamsundar Ranganathan

Comment 4 Worker Ant 2017-12-06 17:22:41 UTC
REVIEW: https://review.gluster.org/18968 (rpc: Fix format warnings when using IPV6_DEFAULT) posted (#1) for review on master by Shreyas Siravara

Comment 5 Worker Ant 2017-12-06 23:44:05 UTC
COMMIT: https://review.gluster.org/18966 committed in master by \"Shyamsundar Ranganathan\" <srangana> with a commit message- dht/crypt/tier: Fix use of booleans as integers

BUG: 1520974
Change-Id: I19ea40c888e88a7a4ac271168ed1820c2075be93
Signed-off-by: ShyamsundarR <srangana>

Comment 6 Worker Ant 2017-12-07 02:42:48 UTC
COMMIT: https://review.gluster.org/18968 committed in master by \"Shreyas Siravara\" <sshreyas> with a commit message- rpc: Fix format warnings when using IPV6_DEFAULT

Change-Id: I22e622212f30defe6f2af1a67d7b48a88d37a097
BUG: 1520974
Signed-off-by: Shreyas Siravara <sshreyas>

Comment 7 Shyamsundar 2018-03-15 11:22:12 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-4.0.0, please open a new bug report.

glusterfs-4.0.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2018-March/000092.html
[2] https://www.gluster.org/pipermail/gluster-users/