[
https://issues.apache.org/jira/browse/IGNITE-9031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580194#comment-16580194
]
Amir Akhmedov commented on IGNITE-9031:
---------------------------------------
[~vkulichenko], I don't think it's possible since {{ContextRefreshEvent}} is
published once (when all initialization is done) and from application thread
[https://github.com/spring-projects/spring-framework/blob/master/spring-context/src/main/java/org/springframework/context/support/AbstractApplicationContext.java#L873]
Besides, I looked at documentation andĀ found nothing about multi-threading.
> SpringCacheManager throws AssertionError during Spring initialization
> ---------------------------------------------------------------------
>
> Key: IGNITE-9031
> URL: https://issues.apache.org/jira/browse/IGNITE-9031
> Project: Ignite
> Issue Type: Bug
> Components: spring
> Affects Versions: 2.6
> Reporter: Joel Lang
> Assignee: Amir Akhmedov
> Priority: Major
>
> When initializing Ignite using an IgniteSpringBean and also having a
> SpringCacheManager defined, the SpringCacheManager throws an AssertionError
> in the onApplicationEvent() method due to it being called more than once.
> There is an "assert ignite == null" that fails after the first call.
> This is related to the changes in IGNITE-8740. This happened immediately when
> I first tried to start Ignite after upgrading from 2.5 to 2.6.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)