ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Mekhanikov <dmekhani...@gmail.com>
Subject Re: Spring ThreadPoolTaskScheduler default behaviour changed
Date Tue, 11 Dec 2018 12:13:15 GMT
Andrey,

Thanks for the info!

Denis

вт, 11 дек. 2018 г. в 14:02, Andrey Davydov <andrey.davydov@gmail.com>:

> Hello,
>
> When I update Ignite from 2.6 to 2.7, I have to update Spring to
> corresponding version too (from 4.16 to 4.18). And I got some exceptions on
> application stop (org.apache.ignite.internal.
> IgniteInterruptedCheckedException  on backplane scheduled queries).
>
> As I find with debugger, in current version of spring, sheduler do not
> wait for job completion by default. So if I set property to wait completion
> everething becomes ok.
>
>     <bean id="systemBackplaneJobExecutor"
>
> class="org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler">
> *        <property name="waitForTasksToCompleteOnShutdown" value="true"/>*
>         <property name="awaitTerminationSeconds" value="60"/>
>     </bean>
>
>

Mime
View raw message