You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sumit Agrawal (Jira)" <ji...@apache.org> on 2024/05/03 04:12:00 UTC
[jira] [Created] (HDDS-10798) OMLeaderNotReadyException exception on switch leader
Sumit Agrawal created HDDS-10798:
------------------------------------
Summary: 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
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org