[
https://issues.apache.org/jira/browse/IGNITE-25340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-25340:
---------------------------------------
Description:
h3. Motivation
The test is flaky in TC:
{noformat:title=VolatilePageMemorySortedIndexStorageTest#testReadOnlyScan}
[2025-05-08T14:24:24,514][INFO
][main][VolatilePageMemorySortedIndexStorageTest] >>> Starting test:
VolatilePageMemorySortedIndexStorageTest#testReadOnlyScan, displayName:
repetition 2 of 5
[2025-05-08T14:24:24,514][INFO
][main][VolatilePageMemorySortedIndexStorageTest] Using random seed:
1746703464513
[2025-05-08T14:24:24,520][INFO ][main][AbstractSortedIndexStorageTest] Creating
index with the following column order: [INT8, STRING, INT64, FLOAT, UUID,
INT32, INT16, TIMESTAMP, DATETIME, DATE, TIME, DECIMAL, BYTE_ARRAY, DOUBLE]
[2025-05-08T14:24:24,525][INFO
][main][VolatilePageMemorySortedIndexStorageTest] >>> Stopping test:
VolatilePageMemorySortedIndexStorageTest#testReadOnlyScan, displayName:
repetition 2 of 5, cost: 10ms.
java.lang.AssertionError:
Expected: a collection with size <6>
but: collection size was <5>
{noformat}
h3. Definition of done
The test should pass correctly.
Any UTF-8 string comparison using BinaryTupleComparatorUtils#compareAsString
ought to the same comparison value as String#compareTo.
was:
h3. Motivation
Test is flaky in TC:
{noformat|title=VolatilePageMemorySortedIndexStorageTest#testReadOnlyScan}
[2025-05-08T14:24:24,514][INFO
][main][VolatilePageMemorySortedIndexStorageTest] >>> Starting test:
VolatilePageMemorySortedIndexStorageTest#testReadOnlyScan, displayName:
repetition 2 of 5
[2025-05-08T14:24:24,514][INFO
][main][VolatilePageMemorySortedIndexStorageTest] Using random seed:
1746703464513
[2025-05-08T14:24:24,520][INFO ][main][AbstractSortedIndexStorageTest] Creating
index with the following column order: [INT8, STRING, INT64, FLOAT, UUID,
INT32, INT16, TIMESTAMP, DATETIME, DATE, TIME, DECIMAL, BYTE_ARRAY, DOUBLE]
[2025-05-08T14:24:24,525][INFO
][main][VolatilePageMemorySortedIndexStorageTest] >>> Stopping test:
VolatilePageMemorySortedIndexStorageTest#testReadOnlyScan, displayName:
repetition 2 of 5, cost: 10ms.
java.lang.AssertionError:
Expected: a collection with size <6>
but: collection size was <5>
{noformat}
> Incorrect tuple comparison in B-tree prefix
> -------------------------------------------
>
> Key: IGNITE-25340
> URL: https://issues.apache.org/jira/browse/IGNITE-25340
> Project: Ignite
> Issue Type: Bug
> Reporter: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
>
> h3. Motivation
> The test is flaky in TC:
> {noformat:title=VolatilePageMemorySortedIndexStorageTest#testReadOnlyScan}
> [2025-05-08T14:24:24,514][INFO
> ][main][VolatilePageMemorySortedIndexStorageTest] >>> Starting test:
> VolatilePageMemorySortedIndexStorageTest#testReadOnlyScan, displayName:
> repetition 2 of 5
> [2025-05-08T14:24:24,514][INFO
> ][main][VolatilePageMemorySortedIndexStorageTest] Using random seed:
> 1746703464513
> [2025-05-08T14:24:24,520][INFO ][main][AbstractSortedIndexStorageTest]
> Creating index with the following column order: [INT8, STRING, INT64, FLOAT,
> UUID, INT32, INT16, TIMESTAMP, DATETIME, DATE, TIME, DECIMAL, BYTE_ARRAY,
> DOUBLE]
> [2025-05-08T14:24:24,525][INFO
> ][main][VolatilePageMemorySortedIndexStorageTest] >>> Stopping test:
> VolatilePageMemorySortedIndexStorageTest#testReadOnlyScan, displayName:
> repetition 2 of 5, cost: 10ms.
> java.lang.AssertionError:
> Expected: a collection with size <6>
> but: collection size was <5>
> {noformat}
> h3. Definition of done
> The test should pass correctly.
> Any UTF-8 string comparison using BinaryTupleComparatorUtils#compareAsString
> ought to the same comparison value as String#compareTo.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)