[
https://issues.apache.org/jira/browse/IGNITE-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Novikov updated IGNITE-1887:
-----------------------------------
Fix Version/s: 1.5
> REST-HTTP change queryId generation from sequence to random.
> ------------------------------------------------------------
>
> Key: IGNITE-1887
> URL: https://issues.apache.org/jira/browse/IGNITE-1887
> Project: Ignite
> Issue Type: Bug
> Reporter: Andrey Novikov
> Assignee: Andrey Novikov
> Priority: Minor
> Fix For: 1.5
>
>
> First problem:
> 1. client1 execute query and get queryId = 1.
> 2. node where query was executed is restarted (queryId generator
> initialized to zero).
> 3. client2 execute some query and also get queryId=1.
> 4. client1 fetch next page for queryId=1 and GETS results of client2.
> Second problem:
> As queryId is generated sequentially it is very easy to brute force and
> some client could get data of other clients too easy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)