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

PG17 regress sanity: fix error unrecognized alter database option tablespace seen in database vanilla test #7764

Conversation

colm-mchugh
Copy link
Contributor

@colm-mchugh colm-mchugh commented Nov 22, 2024

Disable DDL propagation for the vanilla test suite. This enables the vanilla database test to pass, where previously it was correctly returning ERROR: unrecognized ALTER DATABASE option: tablespace because release-13.0 does not propagate this ALTER DATABASE variant.

We (Citus team) discussed cherry picking #7253 from main to release-13.0 because it does propagate ALTER DATABASE tablespace option (as well as a couple of others) but decided fixing the regress test was not the proper context for that. The fix disables citus.enable_metadata_sync when running vanilla, we discussed disabling citus.enable_create_database_propagation but this is not in release-13.0.

Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (release-13.0@1d0111a). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             release-13.0    #7764   +/-   ##
===============================================
  Coverage                ?   89.59%           
===============================================
  Files                   ?      274           
  Lines                   ?    59584           
  Branches                ?     7436           
===============================================
  Hits                    ?    53387           
  Misses                  ?     4052           
  Partials                ?     2145           

@colm-mchugh colm-mchugh changed the title 7763 fix error unrecognized alter database option tablespace seen in database vanilla test PG17 regress sanity: fix error unrecognized alter database option tablespace seen in database vanilla test Nov 22, 2024
Copy link
Member

@naisila naisila left a comment

Choose a reason for hiding this comment

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

Nice!
(Reminder to drop configure commit before merging to release-13.0)

all Postgres DDL commands to compelte without being propagated by
Citus.
@colm-mchugh colm-mchugh force-pushed the 7763-fix-error-unrecognized-alter-database-option-tablespace-seen-in-database-vanilla-test branch from 1d338b6 to 1cc62a2 Compare November 25, 2024 20:39
@colm-mchugh colm-mchugh merged commit d5f067a into release-13.0 Nov 25, 2024
119 of 121 checks passed
@colm-mchugh colm-mchugh deleted the 7763-fix-error-unrecognized-alter-database-option-tablespace-seen-in-database-vanilla-test branch November 25, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants