Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1781440

Summary: event_slot_alloc not able to return index after reach slot_used count to 1024
Product: [Community] GlusterFS Reporter: Mohit Agrawal <moagrawa>
Component: rpcAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1782826 (view as bug list) Environment:
Last Closed: 2019-12-10 07:47:43 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:
Bug Depends On:    
Bug Blocks: 1782826    

Description Mohit Agrawal 2019-12-10 03:00:55 UTC
Description of problem:
In the commit faf5ac13c4ee00a05e9451bf8da3be2a9043bbf2 missed one condition to come out from the loop so after reach the counter to 1024 the loop has become an infinite loop.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2019-12-10 03:10:06 UTC
REVIEW: https://review.gluster.org/23843 (rpc: event_slot_alloc converted infinite loop after reach slot_used to 1024) posted (#1) for review on master by MOHIT AGRAWAL

Comment 2 Worker Ant 2019-12-10 07:47:43 UTC
REVIEW: https://review.gluster.org/23843 (rpc: event_slot_alloc converted infinite loop after reach slot_used to 1024) merged (#2) on master by Xavi Hernandez