+++ This bug was initially created as a clone of Bug #1781440 +++ 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: --- Additional comment from Worker Ant on 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 --- Additional comment from Worker Ant on 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
REVIEW: https://review.gluster.org/23869 (rpc: event_slot_alloc converted infinite loop after reach slot_used to 1024) posted (#1) for review on release-7 by MOHIT AGRAWAL
REVIEW: https://review.gluster.org/23869 (rpc: event_slot_alloc converted infinite loop after reach slot_used to 1024) merged (#2) on release-7 by Rinku Kothiya