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

Denis Chudov updated IGNITE-25737:
----------------------------------
    Description: 
We need to get rid of versioned value call in stop partition method in the case 
when the table already exists.

Exception started occurring after IGNITE-23702 . In that PR an error was fixed, 
when the replica was stopped (and transferred to STOPPING state) incorrectly, 
when it was still reserved as primary. It made the time before replica stop 
longer in some cases (because now the replica always waits for the end of 
reservation, which may take up to several seconds). So the history that is 
required on replica stop operation may become outdated (see 
{{{}TableManager#stopAndDestroyTablePartition{}}}). Increasing the history 
length didn't eliminate the problem completely.

  was:We need to get rid of versioned value call in stop partition method in 
the case when the table already exists.


> Deferred partition stop may throw OutdatedTokenException
> --------------------------------------------------------
>
>                 Key: IGNITE-25737
>                 URL: https://issues.apache.org/jira/browse/IGNITE-25737
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Denis Chudov
>            Assignee: Denis Chudov
>            Priority: Major
>              Labels: ignite-3
>
> We need to get rid of versioned value call in stop partition method in the 
> case when the table already exists.
> Exception started occurring after IGNITE-23702 . In that PR an error was 
> fixed, when the replica was stopped (and transferred to STOPPING state) 
> incorrectly, when it was still reserved as primary. It made the time before 
> replica stop longer in some cases (because now the replica always waits for 
> the end of reservation, which may take up to several seconds). So the history 
> that is required on replica stop operation may become outdated (see 
> {{{}TableManager#stopAndDestroyTablePartition{}}}). Increasing the history 
> length didn't eliminate the problem completely.



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

Reply via email to