ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Pavlukhin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-9404) Ignite start hangs infinitely when sync preloading is cancelled
Date Wed, 29 Aug 2018 08:45:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan Pavlukhin updated IGNITE-9404:
-----------------------------------
    Description: 
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.

  was: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.


> 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
>
> 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)

Mime
View raw message