Skip to content

Conversation

@hililiwei
Copy link
Contributor

…y.expire.max-snapshot-age-ms and history.expire.min-snapshots-to-keep table properties

closes #3831

…y.expire.max-snapshot-age-ms and history.expire.min-snapshots-to-keep table properties
@github-actions github-actions bot added the docs label Jan 11, 2022
@hililiwei hililiwei changed the title Docs: expire_snapshots documentation should mention or link to histor… Docs: expire_snapshots documentation should mention or link to history.expire.max-snapshot-age-ms and history.expire.min-snapshots-to-keep table properties Jan 14, 2022
This procedure will remove old snapshots and data files which are uniquely required by those old snapshots. This means
the `expire_snapshots` procedure will never remove files which are still required by a non-expired snapshot.

Available [table behavior properties](./configuration#Table-behavior-properties) for `expire_snapshots`:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that this should be shorter and not duplicate information at the linked location. Otherwise, we need to update it when the defaults change.

This should also be combined with the Usage section below because that contains defaults that are determined by these settings.

Instead of this paragraph, I would add one below the Usage table that states:

If older_than and retain_last are omitted, the table's expiration properties will be used.

…y.expire.max-snapshot-age-ms and history.expire.min-snapshots-to-keep table properties
@hililiwei hililiwei requested a review from rdblue January 18, 2022 15:13
@rdblue
Copy link
Contributor

rdblue commented Jan 18, 2022

Thanks, @hililiwei!

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

Labels

Projects

None yet

2 participants