[
https://issues.apache.org/jira/browse/IGNITE-26961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor updated IGNITE-26961:
--------------------------
Description:
*Steps to reproduce:*
Import GG8 work data into AI3 cluster:
1. Get GG8 work directory.
2. Run migration tool on the directory with connection to AI3 cluster with
command:
{code:java}
migration-tools-cli-3.2.0-SNAPSHOT/bin/migration-tools persistent-data
/opt/pubagent/az-workdirs/xl03 5b29d468-1978-4db9-9f13-6f9da07f3bf6
/opt/pubagent/az-workdirs/configs/server-config.xml migrate-cache
wdf_dtl_expanded 172.25.4.66:10800 172.25.4.81:10800 172.25.4.65:10800 --mode
IGNORE_COLUMN {code}
*Expected:*
Clear exception it is not possible
*Actual:*
Exception:
{code:java}
2025-11-05 15:32:52:069 +0000 [ERROR][sys-#71][String] Unhandled exception
during page store initialization. All further operations will be failed and
local node will be stopped.
java.lang.ArrayIndexOutOfBoundsException: Index 32767 out of bounds for length 3
at
org.apache.ignite.internal.processors.cache.persistence.tree.io.IOVersions.forVersion(IOVersions.java:87)
at
org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:626)
at
org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:590)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.getOrAllocatePartitionMetas(GridCacheOffheapManager.java:2127)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init0(GridCacheOffheapManager.java:1846)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init(GridCacheOffheapManager.java:2247)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager.restoreStateOfPartition(GridCacheOffheapManager.java:530)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor$CacheRecoveryLifecycle.lambda$restorePartitionStates$3(GridCacheProcessor.java:5524)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834) {code}
was:
*Steps to reproduce:*
Import GG8 work data into AI3 cluster.
*Expected:*
Clear exception it is not possible
*Actual:*
Exception:
{code:java}
2025-11-05 15:32:52:069 +0000 [ERROR][sys-#71][String] Unhandled exception
during page store initialization. All further operations will be failed and
local node will be stopped.
java.lang.ArrayIndexOutOfBoundsException: Index 32767 out of bounds for length 3
at
org.apache.ignite.internal.processors.cache.persistence.tree.io.IOVersions.forVersion(IOVersions.java:87)
at
org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:626)
at
org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:590)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.getOrAllocatePartitionMetas(GridCacheOffheapManager.java:2127)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init0(GridCacheOffheapManager.java:1846)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init(GridCacheOffheapManager.java:2247)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager.restoreStateOfPartition(GridCacheOffheapManager.java:530)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor$CacheRecoveryLifecycle.lambda$restorePartitionStates$3(GridCacheProcessor.java:5524)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834) {code}
> migration-tools-cli throws improper exception when import from GG8 to AI3
> -------------------------------------------------------------------------
>
> Key: IGNITE-26961
> URL: https://issues.apache.org/jira/browse/IGNITE-26961
> Project: Ignite
> Issue Type: Bug
> Components: migration ai2 to ai3
> Affects Versions: 3.2
> Reporter: Igor
> Priority: Major
> Labels: ignite-3, migration
>
> *Steps to reproduce:*
> Import GG8 work data into AI3 cluster:
> 1. Get GG8 work directory.
> 2. Run migration tool on the directory with connection to AI3 cluster with
> command:
> {code:java}
> migration-tools-cli-3.2.0-SNAPSHOT/bin/migration-tools persistent-data
> /opt/pubagent/az-workdirs/xl03 5b29d468-1978-4db9-9f13-6f9da07f3bf6
> /opt/pubagent/az-workdirs/configs/server-config.xml migrate-cache
> wdf_dtl_expanded 172.25.4.66:10800 172.25.4.81:10800 172.25.4.65:10800 --mode
> IGNORE_COLUMN {code}
> *Expected:*
> Clear exception it is not possible
> *Actual:*
> Exception:
> {code:java}
> 2025-11-05 15:32:52:069 +0000 [ERROR][sys-#71][String] Unhandled exception
> during page store initialization. All further operations will be failed and
> local node will be stopped.
> java.lang.ArrayIndexOutOfBoundsException: Index 32767 out of bounds for
> length 3
> at
> org.apache.ignite.internal.processors.cache.persistence.tree.io.IOVersions.forVersion(IOVersions.java:87)
> at
> org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:626)
> at
> org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:590)
> at
> org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.getOrAllocatePartitionMetas(GridCacheOffheapManager.java:2127)
> at
> org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init0(GridCacheOffheapManager.java:1846)
> at
> org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init(GridCacheOffheapManager.java:2247)
> at
> org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager.restoreStateOfPartition(GridCacheOffheapManager.java:530)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor$CacheRecoveryLifecycle.lambda$restorePartitionStates$3(GridCacheProcessor.java:5524)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)