[ 
https://issues.apache.org/jira/browse/IGNITE-29204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Werner updated IGNITE-29204:
-----------------------------------
    Description: 
IndexTypesCompatibilityTest#validateResultingCacheData compares Ignite versions 
as strings:

    igniteVer.compareTo("2.8.0") < 0   // Binary
    igniteVer.compareTo("2.7.0") < 0   // UUID

Lexicographically "2.10.0".."2.18.0" < "2.8.0", so Binary and UUID index checks 
are silently skipped for all versions since 2.10.0 (on JDK 17+ the checks never 
run at all).

Fix: compare IgniteReleasedVersion values instead of strings.

> Fix string-based version comparison in IndexTypesCompatibilityTest
> ------------------------------------------------------------------
>
>                 Key: IGNITE-29204
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29204
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Dmitry Werner
>            Assignee: Dmitry Werner
>            Priority: Minor
>
> IndexTypesCompatibilityTest#validateResultingCacheData compares Ignite 
> versions as strings:
>     igniteVer.compareTo("2.8.0") < 0   // Binary
>     igniteVer.compareTo("2.7.0") < 0   // UUID
> Lexicographically "2.10.0".."2.18.0" < "2.8.0", so Binary and UUID index 
> checks are silently skipped for all versions since 2.10.0 (on JDK 17+ the 
> checks never run at all).
> Fix: compare IgniteReleasedVersion values instead of strings.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to