You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2023/03/28 09:56:00 UTC
[jira] [Created] (IGNITE-19136) Readonly request handling on the replica which is not ready
Vladislav Pyatkov created IGNITE-19136:
------------------------------------------
Summary: Readonly request handling on the replica which is not ready
Key: IGNITE-19136
URL: https://issues.apache.org/jira/browse/IGNITE-19136
Project: Ignite
Issue Type: Bug
Reporter: Vladislav Pyatkov
*Motivation*
There are several reasons by the replica can respond _ReplicaNotReadyException_ (storage recovery has not completed yet, indexes have not created). In this case, required sending AwaitReplicaRequest and don't try requesting any more until AwaitReplicaResponse doesn't be received.
But this case is not complied for read only requests. The result is unhandled exception:
{noformat}
Replica is not ready [replicationGroupId=474283c9-a39e-431a-895f-751003052d7a_part_10, nodeName=irott_n_1]
at app//org.apache.ignite.internal.replicator.ReplicaManager.sendReplicaUnavailableErrorResponse(ReplicaManager.java:385)
at app//org.apache.ignite.internal.replicator.ReplicaManager.onReplicaMessageReceived(ReplicaManager.java:167)
at app//org.apache.ignite.network.DefaultMessagingService.onMessage(DefaultMessagingService.java:358)
at app//org.apache.ignite.network.DefaultMessagingService.lambda$onMessage$3(DefaultMessagingService.java:314)
at java.base@11.0.17/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base@11.0.17/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base@11.0.17/java.lang.Thread.run(Thread.java:834)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)