[ 
https://issues.apache.org/jira/browse/IGNITE-26805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034251#comment-18034251
 ] 

Vladislav Pyatkov commented on IGNITE-26805:
--------------------------------------------

This patch does not resolve the issue, but it will help find out the root cause.
It is also a reasonable fix because there is no reason to swamp Meta storage 
with work in a case when it is already handling commands slowly.

> Lease has not been negotiated for long
> --------------------------------------
>
>                 Key: IGNITE-26805
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26805
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>         Attachments: _Integration_Tests_Integration_Raft_18749.log.zip
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> h3. Motivation
> This behavior appears in the test 
> `ItTableRaftSnapshotsTest.snapshotInstallationRepeatsOnTimeout`. 
> Unfortunately, it is unlikely to manage to reproduce locally.
> Based on the log messages, I assume this behavior:
> {noformat}
> //Cluster get the lease grunt 
> [2025-10-20T11:41:56,346][INFO 
> ][%itrst_sirot_3344%JRaft-FSMCaller-Disruptor-metastorage_group_stripe_0-0][PlacementDriverMessageProcessor]
>  Received LeaseGrantedMessage for replica [groupId=23_part_0, 
> leaseStartTime=HybridTi
> mestamp [physical=2025-10-20 11:41:56:340 +0000, logical=0, 
> composite=115406308398858240], force=false].
> //But it is not a leader, so it send a response with a node candidate 
> (itrst_sirot_3346)
> [2025-10-20T11:41:57,609][INFO 
> ][%itrst_sirot_3344%partition-operations-8][PlacementDriverMessageProcessor] 
> Proposing lease redirection [groupId=23_part_0, proposed 
> node=\{id=a0e75bb3-fd70-439f-90e0-c1a920beb81b, name=itrst_sirot_3346, 
> address=127.0.1.1:3346}].
> //Apparently, PD active actor had got the message because it created a 
> negotiation lease
> Lease [leaseholder=itrst_sirot_3346, 
>     leaseholderId=a0e75bb3-fd70-439f-90e0-c1a920beb81b, 
>     accepted=false, 
>     startTime=HybridTimestamp [physical=2025-10-20 11:41:57:842 +0000, 
> logical=0, composite=115406308497293312],
>     expirationTime=HybridTimestamp [physical=2025-10-20 11:43:57:842 +0000, 
> logical=0, composite=115406316361613312],
>     prolongable=true,
>     proposedCandidate=null,
>     replicationGroupId=23_part_0] {noformat}
> And no other messages about the lease or replication group in the log.
> h3. Definition of done
> A lease should be negotiated in a short period (probably, some bug is here).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to