[ https://issues.apache.org/jira/browse/IGNITE-6432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16357200#comment-16357200 ]
Pavel Vinokurov edited comment on IGNITE-6432 at 2/8/18 4:52 PM: ----------------------------------------------------------------- [~vchibaev] Not a bug. Execution of cacheManager.getCache("refdata.labelType") instantiates new cache.After that the cache could be returned via cacheManager.getCacheNames(). The ConcurrentMapCacheManager has same behavior with dynamic flag set to true. was (Author: pvinokurov): Not a bug. Execution of cacheManager.getCache("refdata.labelType") instantiates new cache.After that the cache could be returned via cacheManager.getCacheNames(). The ConcurrentMapCacheManager has same behavior with dynamic flag set to true. > SpringCacheManager#getCacheNames() is empty > ------------------------------------------- > > Key: IGNITE-6432 > URL: https://issues.apache.org/jira/browse/IGNITE-6432 > Project: Ignite > Issue Type: Bug > Affects Versions: 2.1 > Reporter: Valeri Chibaev > Priority: Major > > Application ignite started with org.apache.ignite.IgniteSpringBean, then > SpringCacheManager created > {code} > <bean id="ignite-config" > class="org.apache.ignite.configuration.IgniteConfiguration" > p:igniteInstanceName="ignite-grid"> > <property name="cacheConfiguration"> > <list> > <bean class="org.apache.ignite.configuration.CacheConfiguration" > p:name="refdata.labelType" /> > </list> > </property> > </bean> > <bean id="ignite" class="org.apache.ignite.IgniteSpringBean" > p:configuration-ref="ignite-config" /> > <bean id="cacheManager" > class="org.apache.ignite.cache.spring.SpringCacheManager" depends-on="ignite" > p:igniteInstanceName="ignite-grid" /> > {code} > If I'll check cacheManager.getCacheNames() - it is empty. > But if I check cacheManager.getCache("refdata.labelType") metrics and repeat > call cacheManager.getCacheNames() - it is not empty. -- This message was sent by Atlassian JIRA (v7.6.3#76005)