[
https://issues.apache.org/jira/browse/IGNITE-13017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Steshin updated IGNITE-13017:
--------------------------------------
Description:
We should remove hardcoded timeout from:
{code:java}
boolean ServerImpl.CrossRingMessageSendState.markLastFailedNodeAlive() {
if (state == RingMessageSendState.FORWARD_PASS || state ==
RingMessageSendState.BACKWARD_PASS) {
...
if (--failedNodes <= 0) {
...
state = RingMessageSendState.STARTING_POINT;
try {
Thread.sleep(200);
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}
return true;
}
return false;
}
{code}
This can bring additional 200ms to duration of failed node detection.
See '_WorstCaseStepByStep.txt_' and IGNITE-13016 for more details.
was:
We should remove hardcoded timeout from:
{code:java}
boolean ServerImpl.CrossRingMessageSendState.markLastFailedNodeAlive() {
if (state == RingMessageSendState.FORWARD_PASS || state ==
RingMessageSendState.BACKWARD_PASS) {
...
if (--failedNodes <= 0) {
...
state = RingMessageSendState.STARTING_POINT;
try {
Thread.sleep(200);
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}
return true;
}
return false;
}
{code}
This can bring additional 200ms to duration of failed node detection.
> Remove hardcoded delay from re-marking failed node as alive.
> ------------------------------------------------------------
>
> Key: IGNITE-13017
> URL: https://issues.apache.org/jira/browse/IGNITE-13017
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Vladimir Steshin
> Assignee: Vladimir Steshin
> Priority: Major
> Labels: iep-45
> Attachments: WostCaseStepByStep.txt
>
>
> We should remove hardcoded timeout from:
> {code:java}
> boolean
> ServerImpl.CrossRingMessageSendState.markLastFailedNodeAlive() {
> if (state == RingMessageSendState.FORWARD_PASS || state ==
> RingMessageSendState.BACKWARD_PASS) {
> ...
> if (--failedNodes <= 0) {
> ...
> state = RingMessageSendState.STARTING_POINT;
> try {
> Thread.sleep(200);
> }
> catch (InterruptedException e) {
> Thread.currentThread().interrupt();
> }
> }
> return true;
> }
> return false;
> }
> {code}
> This can bring additional 200ms to duration of failed node detection.
> See '_WorstCaseStepByStep.txt_' and IGNITE-13016 for more details.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)