ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-6356) Signed overflow when reading partition greater than Short.MAX_VALUE
Date Tue, 12 Sep 2017 13:48:00 GMT
Alexey Goncharuk created IGNITE-6356:
----------------------------------------

             Summary: Signed overflow when reading partition greater than Short.MAX_VALUE
                 Key: IGNITE-6356
                 URL: https://issues.apache.org/jira/browse/IGNITE-6356
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 2.0
            Reporter: Alexey Goncharuk
            Assignee: Alexey Goncharuk
             Fix For: 2.3


When starting a cache with the number of partitions greater than 32768, the following error
is observed:

{code}
Caused by: java.lang.IndexOutOfBoundsException: bitIndex < 0: -98295
	at java.util.BitSet.get(BitSet.java:623)
	at org.apache.ignite.internal.util.GridPartitionStateMap.state(GridPartitionStateMap.java:200)
	at org.apache.ignite.internal.util.GridPartitionStateMap.setState(GridPartitionStateMap.java:173)
	at org.apache.ignite.internal.util.GridPartitionStateMap.put(GridPartitionStateMap.java:148)
	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap.put(GridDhtPartitionMap.java:137)
	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap.readExternal(GridDhtPartitionMap.java:301)
	at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readExternalizable(OptimizedObjectInputStream.java:523)
	at org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.read(OptimizedClassDescriptor.java:917)
	at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:324)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:367)
	at org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:227)
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message