[
https://issues.apache.org/jira/browse/ARTEMIS-4527?focusedWorklogId=901513&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-901513
]
ASF GitHub Bot logged work on ARTEMIS-4527:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 24/Jan/24 17:46
Start Date: 24/Jan/24 17:46
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on code in PR #4705:
URL: https://github.com/apache/activemq-artemis/pull/4705#discussion_r1465332973
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/impl/RemoteQueueBindingImpl.java:
##########
@@ -242,7 +243,10 @@ public synchronized void removeConsumer(final SimpleString
filterString) throws
}
}
- consumerCount--;
+ if (--consumerCount < 0) {
+ ActiveMQServerLogger.LOGGER.consumerCountError("Tried to decrement
consumer count below 0: " + this);
Review Comment:
Is this new error necessary?
I have been trying to use more log.debug for things not really pertaining to
the user.
Issue Time Tracking
-------------------
Worklog Id: (was: 901513)
Time Spent: 2h 10m (was: 2h)
> Redistributor race when consumerCount reaches 0 in cluster
> ----------------------------------------------------------
>
> Key: ARTEMIS-4527
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4527
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Anton Roskvist
> Priority: Major
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> This is a very rare bug caused by cluster notifications arriving in the wrong
> order in some very specific circumstances
--
This message was sent by Atlassian Jira
(v8.20.10#820010)