You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Nandakumar (Jira)" <ji...@apache.org> on 2025/07/01 06:50:00 UTC
[jira] [Created] (HDDS-13357) Fix OmSnapshotManager#inFlightSnapshotCount reset logic
Nandakumar created HDDS-13357:
---------------------------------
Summary: Fix OmSnapshotManager#inFlightSnapshotCount reset logic
Key: HDDS-13357
URL: https://issues.apache.org/jira/browse/HDDS-13357
Project: Apache Ozone
Issue Type: Bug
Reporter: Nandakumar
Currently, {{OmSnapshotManager#resetInFlightSnapshotCount}} incorrectly assumes that {{LeaderReady}} means that there are no inflight snapshot requests. This is not correct, {{LeaderReady}} doesn't mean that the StateMachine has applied all the pending transactions.
We may consider fixing it by waiting all the pending requests in notifyLeaderReady().
Also, it seems to have another bug that the PrepareState could disallow snapshot requests. In such case, {{inFlightSnapshotCount}} won't be decremented.
--
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