-
Notifications
You must be signed in to change notification settings - Fork 485
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
fix(compute): Respect skip_pg_catalog_updates in reconfigure() #10696
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Does the control plane set skip_pg_catalog_updates correctly when reconfiguring for pageserver changes? And does it correctly not set it, when applying other changes?
Yeah, see this commit https://github.com/neondatabase/cloud/commit/9068c7d7433f943af2bc350e9fd59772867e622c
From what I see, the logic is 'apply unless the flag is set' and it's not set by default, so I'd say yes |
7425 tests run: 7041 passed, 32 failed, 352 skipped (full report)Failures on Postgres 17
Failures on Postgres 16
Failures on Postgres 15
Failures on Postgres 14
Flaky tests (3)Postgres 17
Postgres 14
Test coverage report is not availableThe comment gets automatically updated with the latest test results
ccbb85d at 2025-02-06T17:03:28.727Z :recycle: |
I am not sure why so many sharding tests failed. If the list of pageserver changes, the endpoint should still be reconfigured. It looks like there were some implicit assumptions that the endpoint is reconfigured with catalog updates. I had a brief look, still not clear. Will continue tomorrow |
Problem
We respect
skip_pg_catalog_updates
at the initial start, but ignore at the follow-up/configure
. Yet, it's used for storage->cplane->compute notify requests after migrations, shard split, etc. So every time we get them, applying the new config takes much longer than it should because we go through Postgres catalog checks. Cplane sets this flag, when it does serves notify attach call https://github.com/neondatabase/cloud/commit/9068c7d7433f943af2bc350e9fd59772867e622cRelated to
inc-403
, for exampleSummary of changes
Look at
skip_pg_catalog_updates
incompute.reconfigure()