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

Andrey Novikov commented on IGNITE-5706:
----------------------------------------

Hi [~roman_s],

GridRedisFlushCommandHandler#asRestRequest
Why you iterate over all caches {{ctx.cache().publicCaches()}} instead of 
iterate over Redis cache names {{ctx.cache().cache(CACHE_NAME_PREFIX + 
database)}}?
Why you create collection {{redisCaches}} and then translate it into map 
{{caches}}? Use only {{caches}} for that.

Everything else looks good for me, please merge after fix.

> Redis FLUSHDB command support
> -----------------------------
>
>                 Key: IGNITE-5706
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5706
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Shtykh
>            Assignee: Roman Shtykh
>             Fix For: 2.2
>
>
> https://redis.io/commands/flushdb



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to