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

Vladimir Steshin reopened IGNITE-29377:
---------------------------------------
      Assignee: Vladimir Steshin

> Thin client reverses query index sort directions
> ------------------------------------------------
>
>                 Key: IGNITE-29377
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29377
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladimir Steshin
>            Assignee: Vladimir Steshin
>            Priority: Major
>              Labels: ise
>         Attachments: ignite-thin-client-index-directions.patch
>
>
> When a cache configuration is transferred between a server and a thin client, 
> query index field directions are reversed. Ascending becomes descending. This 
> occurs both when reading a cache configuration through the thin client and 
> when creating a cache through it.
> The thin client serializes and deserializes the QueryIndex field direction 
> boolean directly, while the server-side cache configuration serializer uses 
> the opposite boolean convention. As a result, crossing either boundary 
> inverts the direction.
> For example, an index configured as \{age=true, city=false} is received as 
> \{age=false, city=true}. The attached test patch reproduces both cases on 
> master; both tests fail with this mismatch.



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

Reply via email to