[
https://issues.apache.org/jira/browse/ARTEMIS-3243?focusedWorklogId=616874&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-616874
]
ASF GitHub Bot logged work on ARTEMIS-3243:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Jun/21 01:53
Start Date: 30/Jun/21 01:53
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on a change in pull request
#3633:
URL: https://github.com/apache/activemq-artemis/pull/3633#discussion_r661073814
##########
File path:
artemis-commons/src/main/java/org/apache/activemq/artemis/utils/pools/MpscPool.java
##########
@@ -33,12 +33,17 @@
*/
public class MpscPool<T> extends Pool<T> {
+ private static final Logger logger = Logger.getLogger(MpscPool.class);
+
public MpscPool(int maxSize, Consumer<T> cleaner, Supplier<T> supplier) {
super(maxSize, cleaner, supplier);
}
@Override
protected Queue<T> createQueue(int maxSize) {
+ if (logger.isTraceEnabled()) {
+ logger.trace("Creating Pool with size=" + maxSize + " for classes for
" + supplier.get().getClass());
Review comment:
this is trace, when the pool was created.
I did need this when I was debugging... at this point it's moot, but I
thought it would be nice to leave what I needed on dev for future debugging.
this is log.trace.. I don't really care if it's burning a value if it's
giving me good information on debugging, but I will remove it as you seem to
care.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 616874)
Time Spent: 5h 50m (was: 5h 40m)
> Enhance AMQP Mirror support with dual mirror
> --------------------------------------------
>
> Key: ARTEMIS-3243
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3243
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.17.0
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.18.0
>
> Time Spent: 5h 50m
> Remaining Estimate: 0h
>
> at the current Mirror version, we can only mirror into a single direction.
> With this enhancement the two (or more brokers) would be connected to each
> other, each one having its own ID, and each one would send updates to the
> other broker.
> The outcome is that if you just transferred producers and consumers from one
> broker into the other, the fallback would be automatic and simple. No need to
> disable and enable mirror options.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)