[
https://issues.apache.org/jira/browse/IGNITE-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16044441#comment-16044441
]
ASF GitHub Bot commented on IGNITE-5204:
----------------------------------------
GitHub user skalashnikov opened a pull request:
https://github.com/apache/ignite/pull/2115
IGNITE-5204: Fixed NPE on certain data with index inlining
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-5204
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2115.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2115
----
commit 62aa323162ee7d195574b771c47dfb8bbc5ed58d
Author: skalashnikov <[email protected]>
Date: 2017-06-09T13:31:48Z
IGNITE-5204: Fixed NPE on certain data with index inlining
----
> The Unicode character in the value of a field which are included in an
> un-unique index will cause "stack overhead" exception
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-5204
> URL: https://issues.apache.org/jira/browse/IGNITE-5204
> Project: Ignite
> Issue Type: Bug
> Components: cache, sql
> Affects Versions: 2.0
> Environment: windows server 2012, JDK 1.8, X64
> Reporter: Chris Wang
> Assignee: Sergey Kalashnikov
> Priority: Critical
> Fix For: 2.1
>
> Attachments: IgniteSqlIssue5204Test.java
>
>
> When put "草DX009090" as the value of BillId, which is a field of entity
> Bill. If I define a index includes the BillId, and execute the query like
> "select * from Bill where BillId=’草DX009090‘ in the H2 debug console, there
> throws an exception by the H2 with a code 5000.
> another scenario is, I have two entities, "Bill" and "Detail", both have
> field "BillId". If either of them have value like "草DX009090" and execute the
> query like "select bill.* from bill left join detail on
> bill.billid=detail.billid", the whole ignite cache node will halt ( suppose
> there should be an stack overhead exception, dead loop).
> ======================
> I think the issue should relate to hash computing on the unicode character.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)