Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
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:
[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
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.
Attachments
Issue Links
- links to