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

Tsz-wo Sze resolved HDDS-10798.
-------------------------------
    Fix Version/s: 1.5.0
       Resolution: Fixed

The pull request is now merged.  Thanks, [~sumitagrawl]!

> OMLeaderNotReadyException exception on switch leader
> ----------------------------------------------------
>
>                 Key: HDDS-10798
>                 URL: https://issues.apache.org/jira/browse/HDDS-10798
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Sumit Agrawal
>            Assignee: Sumit Agrawal
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> Client is recieving exception as LeaderNotReady;
> {code:java}
> 2024-05-02 13:54:07,941 DEBUG [IPC Server handler 70 on 
> 9862]-org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB:
>  om72 is Leader but not ready to process request yet.{code}
>  
> As part of fix  HDDS-10546, one of scenario is missing,
>  * notifyTermIndexUpdate set lastSkippedIndex as few transaction still in 
> double buffer
>  * doubleBuffer notify update index does not update lastNotifiedTermIndex as 
> check 'lastApplied.getIndex() >= lastSkippedIndex' fails, as lastApplied is 
> much older value
> This is random issue where, When election happens and there are transaction 
> in double buffer, this can impact not updating notified transactionId. This 
> can be recovered after restart of OM.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to