Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent the staleness of an optimized revision from exceeding the GC window #1741

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

josephschorr
Copy link
Member

@josephschorr josephschorr commented Feb 7, 2024

Currently, if the max staleness percentage is configured well in excess of the norm, it can result in OptimizedRevision occasionally returning revisions that are already expired

@josephschorr josephschorr requested review from jakedt and a team February 7, 2024 17:46
@github-actions github-actions bot added area/datastore Affects the storage system area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) labels Feb 7, 2024
Copy link
Contributor

@alecmerdler alecmerdler left a comment

Choose a reason for hiding this comment

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

Nice fix

@josephschorr josephschorr added this pull request to the merge queue Feb 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 8, 2024
Copy link
Contributor

@vroldanbet vroldanbet left a comment

Choose a reason for hiding this comment

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

Shouldn't we terminate with an error on startup instead of letting the server go healthy?

@josephschorr josephschorr added this pull request to the merge queue Feb 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 8, 2024
@josephschorr josephschorr added this pull request to the merge queue Feb 8, 2024
Merged via the queue into authzed:main with commit f426176 Feb 8, 2024
20 checks passed
@josephschorr josephschorr deleted the max-staleness branch February 8, 2024 20:26
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/datastore Affects the storage system area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants