Description
When starting a cache with the number of partitions greater than 32768, the following error is observed:
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)
Attachments
Issue Links
- duplicates
-
IGNITE-6347 Exception in GridDhtPartitionMap.readExternal
- Resolved
- is duplicated by
-
IGNITE-6347 Exception in GridDhtPartitionMap.readExternal
- Resolved