You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2026/07/06 22:57:00 UTC

[jira] [Created] (HDDS-15760) Handle large or invalid OM snapshot local data YAMLs

Siyao Meng created HDDS-15760:
---------------------------------

             Summary: Handle large or invalid OM snapshot local data YAMLs
                 Key: HDDS-15760
                 URL: https://issues.apache.org/jira/browse/HDDS-15760
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Siyao Meng
            Assignee: Siyao Meng


OM snapshot local data YAML stores SST metadata used by snapshot defrag and snapshot diff. For snapshots with many small SST files, this YAML can grow beyond SnakeYAML's default 3 MiB code-point limit. When that happens, loading the YAML can fail during OM startup or snapshotLocalData initialization.

Goal: A bad local YAML should not make OM startup fail.

The YAML is local optimization metadata for snapshot SST/version tracking, not the authoritative OM namespace state. If one snapshot's local metadata is unreadable or inconsistent, OM should continue loading valid snapshot metadata and leave the affected snapshot's defrag/diff path unavailable until the YAML is fixed.




--
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