Github user clebertsuconic commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1263
  
    @michaelandrepearce Compactor is failing pretty bad at the moment...
    
    ConcurrentLongHashSet needs a minimal size of numSections...
    
    ```
    [Thread-0 
(ActiveMQ-IO-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$4@192d3247)]
 15:25:35,912 ERROR [org.apache.activemq.artemis.journal] AMQ144003: Error 
compacting: java.lang.IllegalArgumentException
        at 
com.google.common.base.Preconditions.checkArgument(Preconditions.java:108) 
[guava-19.0.jar:]
        at 
org.apache.activemq.artemis.utils.collections.ConcurrentLongHashSet.<init>(ConcurrentLongHashSet.java:63)
 [:]
        at 
org.apache.activemq.artemis.utils.collections.ConcurrentLongHashSet.<init>(ConcurrentLongHashSet.java:59)
 [:]
        at 
org.apache.activemq.artemis.utils.collections.ConcurrentLongHashMap.keysLongHashSet(ConcurrentLongHashMap.java:181)
 [:]
        at 
org.apache.activemq.artemis.core.journal.impl.JournalImpl.compact(JournalImpl.java:1490)
 [:]
        at 
org.apache.activemq.artemis.core.journal.impl.JournalImpl$12.run(JournalImpl.java:1413)
 [:]
        at 
org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:101)
 [:]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[rt.jar:1.8.0_73]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[rt.jar:1.8.0_73]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_73]
    
    ```
    
    
    This is because the ConcurrentLongHashMap was checking for a list of IDs on 
an empty set. Which was fine before (we would iterate over nothing and give up 
the loop before).
    
    
    I'm not sure yet what to do here. To change the minimal... or what to do.. 
I need to get my head around these collections.. so I appreciate any help? :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to