Skip to content

HDDS-15313. Increase snapshot diff default thresholds. - #10385

Merged
jojochuang merged 2 commits into
apache:masterfrom
SaketaChalamchala:HDDS-15313
Jun 17, 2026
Merged

HDDS-15313. Increase snapshot diff default thresholds.#10385
jojochuang merged 2 commits into
apache:masterfrom
SaketaChalamchala:HDDS-15313

Conversation

@SaketaChalamchala

@SaketaChalamchala SaketaChalamchala commented May 29, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Increasing the following snapshot diff thresholds because these medium jobs have run into these limit pretty quickly during observation.

  • Increasing ozone.om.snapshot.diff.max.allowed.keys.changed.per.job=1000000000(current default os 10M) because this only represents an estimated number of keys to iterate which is just the sum of number of entries in the delta SST files. It's not the actual number of key we iterate with the bucket prefix to calculate the diff or the actual diff size.
  • Increasing ozone.om.snapshot.diff.max.page.size=5000(current default is 1000) because currently both default page size and max page size have the same limit. It makes sense to have max > default so that default can be increased without having to change max too often.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15313

How was this patch tested?

Existing tests to should run successfully.

@SaketaChalamchala SaketaChalamchala added the snapshot https://issues.apache.org/jira/browse/HDDS-6517 label May 29, 2026
@adoroszlai
adoroszlai requested review from smengcl and removed request for adoroszlai May 30, 2026 06:30
@jojochuang
jojochuang marked this pull request as ready for review June 8, 2026 05:56

@jojochuang jojochuang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jojochuang
jojochuang merged commit 9bcfc6e into apache:master Jun 17, 2026
62 checks passed
@jojochuang

Copy link
Copy Markdown
Contributor

Merged. Thanks @SaketaChalamchala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snapshot https://issues.apache.org/jira/browse/HDDS-6517

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants