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

Sergey Chugunov commented on IGNITE-11844:
------------------------------------------

[~6uest], 

It is possible that cacheNames collection which you're using for filtering in 
ValidateIndexesClosure is null (take a look a few lines of code above: there 
are checks for the collection to be null).

So the fix makes it possible for NPE to be thrown.

Please fix this and add a test to verify that the code is NPE bulletproof.

> Should to filtered indexes by cache name instead of validate all caches in 
> group
> --------------------------------------------------------------------------------
>
>                 Key: IGNITE-11844
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11844
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Andrey Kalinin
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> control.sh utility method validate_indexes checks all indexes of all caches 
> in group. Just do specify one caches (from generic group) in caches list, 
> then all indexes from all caches (that group) will be start to validate and 
> this can consume more time, than checks indexes only specified caches.
> Will be correct to validate only indexes of specified caches, for the purpose 
> need to filtered caches, by list from parameters, in shared group.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to