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

Roman Puchkovskiy commented on IGNITE-21885:
--------------------------------------------

The patch looks gorgeous to me

> AssertionError in RocksDbSortedIndexStorage
> -------------------------------------------
>
>                 Key: IGNITE-21885
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21885
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Blocker
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{RocksDbSortedIndexStorage}} scan is actually broken, the following error is 
> thrown when trying to call this method:
> {noformat}
> Caused by: java.lang.AssertionError
>   at 
> org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage.decodeRow(RocksDbSortedIndexStorage.java:207)
>  ~[ignite-storage-rocksdb-3.0.0-SNAPSHOT.jar:?]
>   at 
> org.apache.ignite.internal.storage.rocksdb.index.RocksDbSortedIndexStorage$1.map(RocksDbSortedIndexStorage.java:196)
>  ~[ignite-storage-rocksdb-3.0.0-SNAPSHOT.jar:?]
>   at 
> org.apache.ignite.internal.storage.rocksdb.index.AbstractRocksDbIndexStorage$UpToDatePeekCursor.lambda$next$0(AbstractRocksDbIndexStorage.java:323)
>  ~[ignite-storage-rocksdb-3.0.0-SNAPSHOT.jar:?]
> {noformat}
> This happens because there's an assertion check that uses an incorrect 
> partition ID offset inside of the index row. Existing tests are working only 
> because we always use partition ID equal to 0.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to