[
https://issues.apache.org/jira/browse/IGNITE-21113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Chugunov updated IGNITE-21113:
-------------------------------------
Attachment: _Integration_Tests_Module_SQL_Engine_424.log.zip
Description:
When IGNITE-21048 was implemented two more PRs (one for [Volatile
Storage|https://github.com/apache/ignite-3/pull/2953], one for
[RocksDB-based|https://github.com/apache/ignite-3/pull/2952]) were open to run
existing tests against different Storage Engines.
Both of them hung.
In the second run for RocksDB Storage several tests fail because of lack of
configuration for RocksDB Storage Engine:
* ItRebalanceDistributedTest
* ItSecondaryIndexTest.
The list above may be incomplete, there could be tests that reveal actual
problems with implementation rather than issues with tests themselves.
Specifically, some tests from ItSecondaryIndexTest fail with the following
exception in logs:
{code:java}
java.nio.BufferUnderflowException
at java.base/java.nio.Buffer.nextGetIndex(Buffer.java:651)
at java.base/java.nio.DirectByteBuffer.getShort(DirectByteBuffer.java:613)
at
org.apache.ignite.internal.storage.rocksdb.index.RocksDbBinaryTupleComparator.compare(RocksDbBinaryTupleComparator.java:67)
at
org.rocksdb.AbstractComparatorJniBridge.compareInternal(AbstractComparatorJniBridge.java:51)
at org.rocksdb.RocksDB.iteratorCF(Native Method)
at org.rocksdb.RocksDB.newIterator(RocksDB.java:2914)
at
org.apache.ignite.internal.rocksdb.ColumnFamily.newIterator(ColumnFamily.java:187)
at
org.apache.ignite.internal.storage.rocksdb.index.AbstractRocksDbIndexStorage$UpToDatePeekCursor.<init>(AbstractRocksDbIndexStorage.java:246)
at
org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage$1.<init>(RocksDbSortedIndexStorage.java:187)
at
org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage.scan(RocksDbSortedIndexStorage.java:187)
at
org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage.lambda$scan$3(RocksDbSortedIndexStorage.java:150)
at
org.apache.ignite.internal.storage.rocksdb.index.AbstractRocksDbIndexStorage.busy(AbstractRocksDbIndexStorage.java:201)
at
org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage.scan(RocksDbSortedIndexStorage.java:144)
at
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.lambda$scanSortedIndex$59(PartitionReplicaListener.java:1246)
at
java.base/java.util.concurrent.ConcurrentSkipListMap.computeIfAbsent(ConcurrentSkipListMap.java:1461)
at
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.scanSortedIndex(PartitionReplicaListener.java:1245)
at
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.lambda$processReadOnlyScanRetrieveBatchAction$32(PartitionReplicaListener.java:794)
...
at
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.invoke(PartitionReplicaListener.java:465)
at
org.apache.ignite.internal.replicator.Replica.processRequest(Replica.java:139)
at
org.apache.ignite.internal.replicator.ReplicaManager.onReplicaMessageReceived(ReplicaManager.java:293)
at
org.apache.ignite.network.DefaultMessagingService.sendToSelf(DefaultMessagingService.java:319)
...
at
org.apache.ignite.internal.replicator.ReplicaService.sendToReplica(ReplicaService.java:92)
at
org.apache.ignite.internal.replicator.ReplicaService.invoke(ReplicaService.java:195)
at
org.apache.ignite.internal.table.distributed.storage.InternalTableImpl.lambda$scan$54(InternalTableImpl.java:1324)
at
org.apache.ignite.internal.table.distributed.storage.InternalTableImpl$PartitionScanPublisher$PartitionScanSubscription.scanBatch(InternalTableImpl.java:1856)
...
at
org.apache.ignite.internal.util.subscription.ConcatenatedPublisher.subscribe(ConcatenatedPublisher.java:53)
at
org.apache.ignite.internal.sql.engine.exec.rel.StorageScanNode.requestNextBatch(StorageScanNode.java:186)
at
org.apache.ignite.internal.sql.engine.exec.rel.StorageScanNode.push(StorageScanNode.java:158)
at
org.apache.ignite.internal.sql.engine.exec.ExecutionContext.lambda$execute$0(ExecutionContext.java:309)
at
org.apache.ignite.internal.sql.engine.exec.QueryTaskExecutorImpl.lambda$execute$0(QueryTaskExecutorImpl.java:81)
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}
Full logs are attached to the ticket.
was:
When IGNITE-21048 was implemented two more PRs (one for [Volatile
Storage|https://github.com/apache/ignite-3/pull/2953], one for
[RocksDB-based|https://github.com/apache/ignite-3/pull/2952]) were open to run
existing tests against different Storage Engines.
Both of them hung.
In the second run for RocksDB Storage several tests fail because of lack of
configuration for RocksDB Storage Engine:
* ItRebalanceDistributedTest
* ItSecondaryIndexTest.
The list above may be incomplete, there could be tests that reveal actual
problems with implementation rather than issues with tests themselves.
> Tests involving Storage functionality fail on RocksDB Storage Engine
> --------------------------------------------------------------------
>
> Key: IGNITE-21113
> URL: https://issues.apache.org/jira/browse/IGNITE-21113
> Project: Ignite
> Issue Type: Bug
> Components: persistence
> Reporter: Sergey Chugunov
> Priority: Blocker
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
> Attachments: _Integration_Tests_Module_SQL_Engine_424.log.zip
>
>
> When IGNITE-21048 was implemented two more PRs (one for [Volatile
> Storage|https://github.com/apache/ignite-3/pull/2953], one for
> [RocksDB-based|https://github.com/apache/ignite-3/pull/2952]) were open to
> run existing tests against different Storage Engines.
> Both of them hung.
> In the second run for RocksDB Storage several tests fail because of lack of
> configuration for RocksDB Storage Engine:
> * ItRebalanceDistributedTest
> * ItSecondaryIndexTest.
> The list above may be incomplete, there could be tests that reveal actual
> problems with implementation rather than issues with tests themselves.
> Specifically, some tests from ItSecondaryIndexTest fail with the following
> exception in logs:
>
> {code:java}
> java.nio.BufferUnderflowException
> at java.base/java.nio.Buffer.nextGetIndex(Buffer.java:651)
> at java.base/java.nio.DirectByteBuffer.getShort(DirectByteBuffer.java:613)
> at
> org.apache.ignite.internal.storage.rocksdb.index.RocksDbBinaryTupleComparator.compare(RocksDbBinaryTupleComparator.java:67)
> at
> org.rocksdb.AbstractComparatorJniBridge.compareInternal(AbstractComparatorJniBridge.java:51)
> at org.rocksdb.RocksDB.iteratorCF(Native Method)
> at org.rocksdb.RocksDB.newIterator(RocksDB.java:2914)
> at
> org.apache.ignite.internal.rocksdb.ColumnFamily.newIterator(ColumnFamily.java:187)
> at
> org.apache.ignite.internal.storage.rocksdb.index.AbstractRocksDbIndexStorage$UpToDatePeekCursor.<init>(AbstractRocksDbIndexStorage.java:246)
> at
> org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage$1.<init>(RocksDbSortedIndexStorage.java:187)
> at
> org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage.scan(RocksDbSortedIndexStorage.java:187)
> at
> org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage.lambda$scan$3(RocksDbSortedIndexStorage.java:150)
> at
> org.apache.ignite.internal.storage.rocksdb.index.AbstractRocksDbIndexStorage.busy(AbstractRocksDbIndexStorage.java:201)
> at
> org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage.scan(RocksDbSortedIndexStorage.java:144)
> at
> org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.lambda$scanSortedIndex$59(PartitionReplicaListener.java:1246)
> at
> java.base/java.util.concurrent.ConcurrentSkipListMap.computeIfAbsent(ConcurrentSkipListMap.java:1461)
> at
> org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.scanSortedIndex(PartitionReplicaListener.java:1245)
> at
> org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.lambda$processReadOnlyScanRetrieveBatchAction$32(PartitionReplicaListener.java:794)
> ...
> at
> org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.invoke(PartitionReplicaListener.java:465)
> at
> org.apache.ignite.internal.replicator.Replica.processRequest(Replica.java:139)
> at
> org.apache.ignite.internal.replicator.ReplicaManager.onReplicaMessageReceived(ReplicaManager.java:293)
> at
> org.apache.ignite.network.DefaultMessagingService.sendToSelf(DefaultMessagingService.java:319)
> ...
> at
> org.apache.ignite.internal.replicator.ReplicaService.sendToReplica(ReplicaService.java:92)
> at
> org.apache.ignite.internal.replicator.ReplicaService.invoke(ReplicaService.java:195)
> at
> org.apache.ignite.internal.table.distributed.storage.InternalTableImpl.lambda$scan$54(InternalTableImpl.java:1324)
> at
> org.apache.ignite.internal.table.distributed.storage.InternalTableImpl$PartitionScanPublisher$PartitionScanSubscription.scanBatch(InternalTableImpl.java:1856)
> ...
> at
> org.apache.ignite.internal.util.subscription.ConcatenatedPublisher.subscribe(ConcatenatedPublisher.java:53)
> at
> org.apache.ignite.internal.sql.engine.exec.rel.StorageScanNode.requestNextBatch(StorageScanNode.java:186)
> at
> org.apache.ignite.internal.sql.engine.exec.rel.StorageScanNode.push(StorageScanNode.java:158)
> at
> org.apache.ignite.internal.sql.engine.exec.ExecutionContext.lambda$execute$0(ExecutionContext.java:309)
> at
> org.apache.ignite.internal.sql.engine.exec.QueryTaskExecutorImpl.lambda$execute$0(QueryTaskExecutorImpl.java:81)
> 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}
>
> Full logs are attached to the ticket.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)