[
https://issues.apache.org/jira/browse/IGNITE-19325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-19325:
---------------------------------------
Description:
*Motivation*
The general public of the issue has at least one test of checking the active
actor for the placement driver. The test is already present in the code base
(MultiActorPlacementDriverTest#prolongAfterActiveActorChanger), but it was
muted a long time ago.
*Implemetatiuon notes*
The exception that currently appears in the test looks like the Metastorage one
and does not depend on the placement driver:
{noformat}
[2023-10-11T14:55:14,672][INFO
][%mapdt_paaac_1234%MessagingService-inbound--0][MultiActorPlacementDriverTest]
Meta storage is unavailable
java.util.concurrent.CompletionException:
org.apache.ignite.raft.jraft.rpc.impl.RaftException: IGN-CMN-65535
TraceId:54e6d210-5660-4f98-b175-b66ac45aeaf6 ETIMEDOUT:RPC exception:null
at
java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)
~[?:?]
at
java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)
~[?:?]
at
java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632)
~[?:?]
at
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
~[?:?]
at
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
~[?:?]
at
org.apache.ignite.internal.raft.RaftGroupServiceImpl.handleErrorResponse(RaftGroupServiceImpl.java:622)
~[main/:?]
at
org.apache.ignite.internal.raft.RaftGroupServiceImpl.lambda$sendWithRetry$39(RaftGroupServiceImpl.java:536)
~[main/:?]
at
java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
~[?:?]
at
java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
~[?:?]
at
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
~[?:?]
at
java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
~[?:?]
at
org.apache.ignite.network.DefaultMessagingService.onInvokeResponse(DefaultMessagingService.java:416)
~[main/:?]
at
org.apache.ignite.network.DefaultMessagingService.onMessage(DefaultMessagingService.java:368)
~[main/:?]
at
org.apache.ignite.network.DefaultMessagingService.lambda$onMessage$4(DefaultMessagingService.java:350)
~[main/:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: org.apache.ignite.raft.jraft.rpc.impl.RaftException: ETIMEDOUT:RPC
exception:null
... 12 more
{noformat}
The test should be unmuted and corrected for the current circumstances.
*Difinition of done*
We have a test (that runs in TC) that demonstrates the behavior of
placement-driven behavior when the active actor is changing.
was:
In the most part of tests placement, driver group contains only for one node.
In these circumstance, we forgot to cove cases when an active actor of the
manager is changed.
Need to implement tests based on multinode placement driver:
# Test where several active actors are working simultaneously
# Test were an active actor id changing from one node to another.
> Extend test covarage of placement driver manager: multinode placement driver
> cases
> ----------------------------------------------------------------------------------
>
> Key: IGNITE-19325
> URL: https://issues.apache.org/jira/browse/IGNITE-19325
> Project: Ignite
> Issue Type: Improvement
> Reporter: Vladislav Pyatkov
> Priority: Major
> Labels: iep-101, ignite-3
>
> *Motivation*
> The general public of the issue has at least one test of checking the active
> actor for the placement driver. The test is already present in the code base
> (MultiActorPlacementDriverTest#prolongAfterActiveActorChanger), but it was
> muted a long time ago.
> *Implemetatiuon notes*
> The exception that currently appears in the test looks like the Metastorage
> one and does not depend on the placement driver:
> {noformat}
> [2023-10-11T14:55:14,672][INFO
> ][%mapdt_paaac_1234%MessagingService-inbound--0][MultiActorPlacementDriverTest]
> Meta storage is unavailable
> java.util.concurrent.CompletionException:
> org.apache.ignite.raft.jraft.rpc.impl.RaftException: IGN-CMN-65535
> TraceId:54e6d210-5660-4f98-b175-b66ac45aeaf6 ETIMEDOUT:RPC exception:null
> at
> java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)
> ~[?:?]
> at
> java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)
> ~[?:?]
> at
> java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632)
> ~[?:?]
> at
> java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> ~[?:?]
> at
> java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
> ~[?:?]
> at
> org.apache.ignite.internal.raft.RaftGroupServiceImpl.handleErrorResponse(RaftGroupServiceImpl.java:622)
> ~[main/:?]
> at
> org.apache.ignite.internal.raft.RaftGroupServiceImpl.lambda$sendWithRetry$39(RaftGroupServiceImpl.java:536)
> ~[main/:?]
> at
> java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
> ~[?:?]
> at
> java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
> ~[?:?]
> at
> java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> ~[?:?]
> at
> java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> ~[?:?]
> at
> org.apache.ignite.network.DefaultMessagingService.onInvokeResponse(DefaultMessagingService.java:416)
> ~[main/:?]
> at
> org.apache.ignite.network.DefaultMessagingService.onMessage(DefaultMessagingService.java:368)
> ~[main/:?]
> at
> org.apache.ignite.network.DefaultMessagingService.lambda$onMessage$4(DefaultMessagingService.java:350)
> ~[main/:?]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> [?:?]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> [?:?]
> at java.lang.Thread.run(Thread.java:834) [?:?]
> Caused by: org.apache.ignite.raft.jraft.rpc.impl.RaftException: ETIMEDOUT:RPC
> exception:null
> ... 12 more
> {noformat}
> The test should be unmuted and corrected for the current circumstances.
> *Difinition of done*
> We have a test (that runs in TC) that demonstrates the behavior of
> placement-driven behavior when the active actor is changing.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)