[ 
https://issues.apache.org/jira/browse/IGNITE-26467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18024412#comment-18024412
 ] 

Ignite TC Bot commented on IGNITE-26467:
----------------------------------------

{panel:title=Branch: [pull/12370/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/12370/head] Base: [master] : New Tests 
(6)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Calcite SQL{color} [[tests 
6|https://ci2.ignite.apache.org/viewLog.html?buildId=8626365]]
* {color:#013220}IgniteCalciteTestSuite: 
KeyClassChangeIntegrationTest.testConcurrentIndexRecreate[Query engine=calcite] 
- PASSED{color}
* {color:#013220}IgniteCalciteTestSuite: 
KeyClassChangeIntegrationTest.testPrimitiveKey[Query engine=calcite] - 
PASSED{color}
* {color:#013220}IgniteCalciteTestSuite: 
KeyClassChangeIntegrationTest.testConcurrentIndexRecreate[Query engine=h2] - 
PASSED{color}
* {color:#013220}IgniteCalciteTestSuite: 
KeyClassChangeIntegrationTest.testPrimitiveKey[Query engine=h2] - PASSED{color}
* {color:#013220}IgniteCalciteTestSuite: 
KeyClassChangeIntegrationTest.testPrimitiveKeyWithAlias[Query engine=calcite] - 
PASSED{color}
* {color:#013220}IgniteCalciteTestSuite: 
KeyClassChangeIntegrationTest.testPrimitiveKeyWithAlias[Query engine=h2] - 
PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8626450&buildTypeId=IgniteTests24Java8_RunAll]

> Field type for affinity index is not validated
> ----------------------------------------------
>
>                 Key: IGNITE-26467
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26467
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksey Plekhanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>              Labels: ise
>             Fix For: 2.18
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> We have validation procedure (see 
> {{{}QueryTypeDescriptorImpl#validateIndexes{}}}) on entry modification, which 
> checks indexed fields and prohibit to insert entries with wrong indexed field 
> type.
> There are several issues with this procedure:
>  * Only explicitely created indexes are checked. Indexes '_key_PK' and 
> 'AFFINITY_KEY' are not validated.
>  * One field can be validated several times, if this field used for more than 
> one index.
>  * Unprotected iteration over {{idxs}} HashMap can potentially throw 
> {{ConcurrentModificationException.}}
>  * KEY_FIELD_NAME and VAL_FIELD_NAME are checked against it's own class 
> (effectevely no-op)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to