Skip to content

Fetch latest db version on cache miss + test#22

Merged
gorbak25 merged 1 commit into
mainfrom
gorbak/db-vers-test
Mar 31, 2026
Merged

Fetch latest db version on cache miss + test#22
gorbak25 merged 1 commit into
mainfrom
gorbak/db-vers-test

Conversation

@gorbak25
Copy link
Copy Markdown

Fetch latest known db version for a site_id when there's no entry for it in last_db_versions.
This should cause no performance degradation as the select touches the same db pages as the upsert.

@gorbak25 gorbak25 requested a review from somtochiama March 31, 2026 13:22
Copy link
Copy Markdown

@somtochiama somtochiama left a comment

Choose a reason for hiding this comment

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

LGTM!
Thanks @gorbak25

@gorbak25 gorbak25 merged commit 3133cac into main Mar 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants