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

Stop changing the value of neon.extension_server_port at runtime #9972

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

tristan957
Copy link
Member

@tristan957 tristan957 commented Dec 2, 2024

On reconfigure, we no longer passed a port for the extension server which caused us to not write out the neon.extension_server_port line. Thus, Postgres thought we were setting the port to the default value of 0. PGC_POSTMASTER GUCs cannot be set at runtime, which causes the following log messages:

LOG: parameter "neon.extension_server_port" cannot be changed without restarting the server
LOG: configuration file "/var/db/postgres/compute/pgdata/postgresql.conf" contains errors; unaffected changes were applied

Fixes: #9945

On reconfigure, we no longer passed a port for the extension server
which caused us to not write out the neon.extension_server_port line.
Thus, Postgres thought we were setting the port to the default value of
0. PGC_POSTMASTER GUCs cannot be set at runtime, which causes the
following log messages:

> LOG:  parameter "neon.extension_server_port" cannot be changed without restarting the server
> LOG:  configuration file "/var/db/postgres/compute/pgdata/postgresql.conf" contains errors; unaffected changes were applied

Signed-off-by: Tristan Partin <[email protected]>
Copy link

github-actions bot commented Dec 2, 2024

7018 tests run: 6710 passed, 0 failed, 308 skipped (full report)


Flaky tests (6)

Postgres 17

  • test_compute_pageserver_connection_stress: debug-x86-64
  • test_crafted_wal_end[vanilla-wal_record_crossing_segment_followed_by_small_one]: debug-x86-64

Postgres 16

Postgres 14

Code coverage* (full report)

  • functions: 30.4% (8270 of 27228 functions)
  • lines: 47.7% (65206 of 136582 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
967609d at 2024-12-02T18:06:01.883Z :recycle:

@tristan957 tristan957 added this pull request to the merge queue Dec 2, 2024
Merged via the queue into main with commit d8ebd33 Dec 2, 2024
82 checks passed
@tristan957 tristan957 deleted the tristan957/postgresqlconf branch December 2, 2024 18:07
awarus pushed a commit that referenced this pull request Dec 5, 2024
On reconfigure, we no longer passed a port for the extension server
which caused us to not write out the neon.extension_server_port line.
Thus, Postgres thought we were setting the port to the default value of
0. PGC_POSTMASTER GUCs cannot be set at runtime, which causes the
following log messages:

> LOG: parameter "neon.extension_server_port" cannot be changed without
restarting the server
> LOG: configuration file
"/var/db/postgres/compute/pgdata/postgresql.conf" contains errors;
unaffected changes were applied

Fixes: #9945

Signed-off-by: Tristan Partin <[email protected]>
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.

configuration file "/var/db/postgres/compute/pgdata/postgresql.conf" contains errors
2 participants