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] [Commented] (IGNITE-6356) Signed overflow when reading partition greater than Short.MAX_VALUE
Date Wed, 13 Sep 2017 10:44:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-6356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164467#comment-16164467
] 

Alexey Goncharuk commented on IGNITE-6356:
------------------------------------------

Merged to master.

> 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