mirror of https://github.com/citusdata/citus.git
Fix mx test
parent
4fe8ec3e61
commit
718a864232
|
@ -492,6 +492,7 @@ SELECT * FROM multi_extension.print_extension_changes();
|
||||||
-- Test downgrade to 9.4-1 from 9.5-1
|
-- Test downgrade to 9.4-1 from 9.5-1
|
||||||
ALTER EXTENSION citus UPDATE TO '9.5-1';
|
ALTER EXTENSION citus UPDATE TO '9.5-1';
|
||||||
BEGIN;
|
BEGIN;
|
||||||
|
SET citus.enable_object_propagation TO on;
|
||||||
SELECT master_add_node('localhost', :master_port, groupId=>0);
|
SELECT master_add_node('localhost', :master_port, groupId=>0);
|
||||||
NOTICE: localhost:xxxxx is the coordinator and already contains metadata, skipping syncing the metadata
|
NOTICE: localhost:xxxxx is the coordinator and already contains metadata, skipping syncing the metadata
|
||||||
master_add_node
|
master_add_node
|
||||||
|
@ -1005,8 +1006,9 @@ SELECT * FROM multi_extension.print_extension_changes();
|
||||||
| function citus_disable_node(text,integer,boolean) void
|
| function citus_disable_node(text,integer,boolean) void
|
||||||
| function citus_internal_add_object_metadata(text,text[],text[],integer,integer) void
|
| function citus_internal_add_object_metadata(text,text[],text[],integer,integer) void
|
||||||
| function citus_run_local_command(text) void
|
| function citus_run_local_command(text) void
|
||||||
|
| function worker_drop_distributed_table_only(text) void
|
||||||
| function worker_drop_sequence_dependency(text) void
|
| function worker_drop_sequence_dependency(text) void
|
||||||
(10 rows)
|
(11 rows)
|
||||||
|
|
||||||
DROP TABLE multi_extension.prev_objects, multi_extension.extension_diff;
|
DROP TABLE multi_extension.prev_objects, multi_extension.extension_diff;
|
||||||
-- show running version
|
-- show running version
|
||||||
|
@ -1256,10 +1258,7 @@ CREATE EXTENSION citus;
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
CREATE EXTENSION citus;
|
CREATE EXTENSION citus;
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
SET citus.enable_object_propagation TO off; -- prevent distributed transactions during add node
|
|
||||||
SELECT FROM master_add_node('localhost', :worker_1_port);
|
SELECT FROM master_add_node('localhost', :worker_1_port);
|
||||||
WARNING: citus.enable_object_propagation is off, not creating distributed objects on worker
|
|
||||||
DETAIL: distributed objects are only kept in sync when citus.enable_object_propagation is set to on. Newly activated nodes will not get these objects created
|
|
||||||
--
|
--
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue