Removes unnecessary changes

pull/7563/head
gurkanindibay 2024-03-25 18:23:22 +03:00
parent 625c8d4af0
commit 602c8c1206
5 changed files with 2 additions and 45 deletions

View File

@ -1,27 +1,4 @@
-- check that the nodes are all in read-only mode and rejecting write queries -- check that the nodes are all in read-only mode and rejecting write queries
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
pg_reload_conf
---------------------------------------------------------------------
t
(1 row)
\c - - - :worker_1_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
pg_reload_conf
---------------------------------------------------------------------
t
(1 row)
\c - - - :worker_2_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
pg_reload_conf
---------------------------------------------------------------------
t
(1 row)
\c - - - :follower_master_port \c - - - :follower_master_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true'; ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf(); SELECT pg_reload_conf();

View File

@ -1,3 +1,4 @@
test: enable_ddl_propagation
test: multi_follower_sanity_check test: multi_follower_sanity_check
test: follower_single_node test: follower_single_node
test: multi_follower_select_statements test: multi_follower_select_statements

View File

@ -13,6 +13,7 @@
# --- # ---
# Tests around schema changes, these are run first, so there's no preexisting objects. # Tests around schema changes, these are run first, so there's no preexisting objects.
# --- # ---
test: enable_ddl_propagation
test: multi_extension test: multi_extension
test: multi_test_helpers multi_test_helpers_superuser test: multi_test_helpers multi_test_helpers_superuser
test: multi_mx_node_metadata test: multi_mx_node_metadata

View File

@ -7,18 +7,7 @@
-- not done yet. -- not done yet.
-- --
-- Upgrade tests verify the objects are added in citus_finish_pg_upgrade() -- Upgrade tests verify the objects are added in citus_finish_pg_upgrade()
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
\c - - - :worker_1_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
\c - - - :worker_2_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
\c - - - :master_port
SET citus.next_shard_id TO 580000; SET citus.next_shard_id TO 580000;
CREATE SCHEMA multi_extension; CREATE SCHEMA multi_extension;

View File

@ -1,15 +1,4 @@
-- check that the nodes are all in read-only mode and rejecting write queries -- check that the nodes are all in read-only mode and rejecting write queries
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
\c - - - :worker_1_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
\c - - - :worker_2_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
\c - - - :follower_master_port \c - - - :follower_master_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true'; ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf(); SELECT pg_reload_conf();