[
https://issues.apache.org/jira/browse/IGNITE-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Pavlukhin updated IGNITE-9404:
-----------------------------------
Attachment: dump1.txt
> Ignite start hangs infinitely when sync preloading is cancelled
> ---------------------------------------------------------------
>
> Key: IGNITE-9404
> URL: https://issues.apache.org/jira/browse/IGNITE-9404
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 2.6
> Reporter: Ivan Pavlukhin
> Priority: Major
> Attachments: IgniteStartStopRace.java, dump1.txt,
> ignite-26252679.0.log
>
>
> This case fires very rarely in {{TcpDiscoveryRestartTest.testRestart}}.
> Caches with {{SYNC}} rebalance mode are affected (system internal cache uses
> such mode). When _starting_ instance is trying to preload partitions for such
> cache from another instance which _stops_ around the same time, first
> instance could hang infinitely. When {{SYNC}} rebalance mode is enabled
> starting instance awaits on _preload future_ in start routine. In another
> thread it starts fetching partitions and receives an error from _stopping_
> instance and cancels _rebalance future_ but _preload future_ is not cancelled.
> It is a bit tricky to reproduce case fairly. It is possible to reproduce the
> case using attached reproducer with adding some delay to
> {{GridDhtPartitionDemander.RebalanceFuture#checkIsDone(boolean)}} method.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)