These are chat archives for atomix/atomix

Sep 2018
Sep 10 2018 07:11
Does anybody have an idea why this happen? (atomix/atomix#836)
Sep 10 2018 07:20
Oh I find where the error is.
Sep 10 2018 07:33
I have a question. If I only config a ManagementGroup system and have no any other PartitionGroup, it seems the cluster won't be started.
and there's no error or exception occur
Sep 10 2018 07:41
Another question is that, when I use Profile.dataGrid() and try to elect an leader, I actually got more than 1 leader
Maxim Manco
Sep 10 2018 15:19

Seeing the following exception during start

2018-09-10 15:17:11.273 ERROR 1 --- [ask-scheduler-4] o.s.s.s.TaskUtils$LoggingErrorHandler    : Unexpected error occurred in scheduled task.

java.lang.ClassCastException: io.atomix.protocols.backup.partition.PrimaryBackupPartitionGroup$Type cannot be cast to io.atomix.utils.NamedType
        at io.atomix.core.impl.ClasspathScanningAtomixRegistry.lambda$null$1( ~[atomix-3.0.5.jar!/:na]
        at java.util.ArrayList.forEach( ~[na:1.8.0_121]
        at io.atomix.core.impl.ClasspathScanningAtomixRegistry.lambda$new$2( ~[atomix-3.0.5.jar!/:na]
        at java.util.concurrent.ConcurrentHashMap.computeIfAbsent( ~[na:1.8.0_121]
        at io.atomix.core.impl.ClasspathScanningAtomixRegistry.<init>( ~[atomix-3.0.5.jar!/:na]
        at io.atomix.core.AtomixRegistry.registry( ~[atomix-3.0.5.jar!/:na]
        at io.atomix.core.Atomix.builder( ~[atomix-3.0.5.jar!/:na]
        at io.atomix.core.Atomix.builder( ~[atomix-3.0.5.jar!/:na]
        at ~[spring-context-5.0.8.RELEASE.jar!/:5.0.8.RELEASE]
        at [spring-context-5.0.8.RELEASE.jar!/:5.0.8.RELEASE]
        at java.util.concurrent.Executors$ [na:1.8.0_121]
        at [na:1.8.0_121]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201( [na:1.8.0_121]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ [na:1.8.0_121]
        at java.util.concurrent.ThreadPoolExecutor.runWorker( [na:1.8.0_121]
        at java.util.concurrent.ThreadPoolExecutor$ [na:1.8.0_121]
        at [na:1.8.0_121]

Please note that I am using Raft for both management and data partition group. Any idea what is causing it?
Cluster seem to form as expected without issues