[ 
https://issues.apache.org/jira/browse/IGNITE-26805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladislav Pyatkov updated IGNITE-26805:
---------------------------------------
    Description: 
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}
h3. Definition of done

A lease should be negotiated in a short period (probably, some bug is here).

  was:
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}
 


> 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
>            Priority: Major
>              Labels: ignite-3
>
> 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}
> 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