[
https://issues.apache.org/jira/browse/IGNITE-21775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-21775:
---------------------------------------
Attachment: _Integration_Tests_Module_Runner_23864.log.zip
> Lease grant message does not handle
> -----------------------------------
>
> Key: IGNITE-21775
> URL: https://issues.apache.org/jira/browse/IGNITE-21775
> Project: Ignite
> Issue Type: Bug
> Reporter: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
> Attachments: _Integration_Tests_Module_Runner_23864.log.zip
>
>
> h3. Motivation
> The lease grant message is sent to all primary replicas. After the message is
> applied, the replica prints (the example for repluication grout 8_part_9):
> {noformat}
> [2024-03-17T00:13:16,472][INFO
> ][%isdst_n_1%MessagingService-inbound-0-0][ReplicaManager] Received
> LeaseGrantedMessage for replica belonging to group=8_part_9, force=false
> [2024-03-17T00:13:16,472][INFO
> ][%isdst_n_1%MessagingService-inbound-0-0][ReplicaManager] Waiting for actual
> storage state, group=8_part_9
> [2024-03-17T00:13:16,473][INFO
> ][%isdst_n_1%JRaft-AppendEntries-Processor-8][ReplicaManager] Lease accepted
> [group=8_part_9, leaseStartTime=HybridTimestamp [physical=2024-03-17
> 00:13:16:471 +0000, logical=2, composite=112108135807123458]].
> {noformat}
> But the message is not present for repluication group 8_part_5:
> {noformat}
> Caused by: org.apache.ignite.internal.lang.IgniteInternalException:
> IGN-PLACEMENTDRIVER-1 TraceId:bd7944eb-5de7-401c-b721-4f6373de2b7d Failed to
> get the primary replica [tablePartitionId=8_part_5]
> at
> app//org.apache.ignite.internal.util.ExceptionUtils.lambda$withCause$1(ExceptionUtils.java:384)
> at
> app//org.apache.ignite.internal.util.ExceptionUtils.withCauseInternal(ExceptionUtils.java:446)
> at
> app//org.apache.ignite.internal.util.ExceptionUtils.withCause(ExceptionUtils.java:384)
> at
> app//org.apache.ignite.internal.sql.engine.SqlQueryProcessor.lambda$primaryReplicas$2(SqlQueryProcessor.java:410)
> at
> [email protected]/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
> at
> [email protected]/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:907)
> at
> [email protected]/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> at
> [email protected]/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
> at
> [email protected]/java.util.concurrent.CompletableFuture$Timeout.run(CompletableFuture.java:2792)
> at
> [email protected]/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
> at
> [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
> ... 3 more
> {noformat}
> h3. Definition of done
> The lease grant message is handled for all replication groups.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)