You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Kasnacheev (JIRA)" <ji...@apache.org> on 2018/12/11 10:25:00 UTC
[jira] [Resolved] (IGNITE-10513) Java client stucks when connects
to server with slow disk
[ https://issues.apache.org/jira/browse/IGNITE-10513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Kasnacheev resolved IGNITE-10513.
--------------------------------------
Resolution: Fixed
Fix Version/s: 2.8
> Java client stucks when connects to server with slow disk
> ---------------------------------------------------------
>
> Key: IGNITE-10513
> URL: https://issues.apache.org/jira/browse/IGNITE-10513
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 2.6
> Reporter: Dmitry Lazurkin
> Priority: Major
> Fix For: 2.8
>
> Attachments: ignite-client.log
>
>
> For emulating slow disk add _sleep_ to partitions cycle in _GridCacheDatabaseSharedManager#restorePartitionStates_:
> {noformat}
> //...
> for (int i = 0; i < grp.affinity().partitions(); i++) {
> try {
> log.error("Wait");
> Thread.sleep(10000);
> } catch (InterruptedException e) {
> e.printStackTrace();
> }
> //...
> {noformat}
> My server has 1024 partitions.
> Steps to reproduce:
> * Start server
> * Start client
> * On client wait message "Join cluster while cluster state transition is in progress, waiting when transition finish."
> * Kill server
> * On client wait repeatable java.net.ConnectException: Connection refused (Connection refused)
> * Start server (I have 100% chance to reproduce issue on my computer)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)