mirror of https://github.com/citusdata/citus.git
Disable metadata sync for helper functions
parent
9574ebc988
commit
0557d67d78
|
@ -9,6 +9,7 @@ ALTER SYSTEM SET citus.metadata_sync_retry_interval TO 500;
|
||||||
SELECT pg_reload_conf();
|
SELECT pg_reload_conf();
|
||||||
|
|
||||||
-- Verifies pg_dist_node and pg_dist_placement in the given worker matches the ones in coordinator
|
-- Verifies pg_dist_node and pg_dist_placement in the given worker matches the ones in coordinator
|
||||||
|
SET citus.enable_metadata_sync TO OFF;
|
||||||
CREATE OR REPLACE FUNCTION verify_metadata(hostname TEXT, port INTEGER, master_port INTEGER DEFAULT 57636)
|
CREATE OR REPLACE FUNCTION verify_metadata(hostname TEXT, port INTEGER, master_port INTEGER DEFAULT 57636)
|
||||||
RETURNS BOOLEAN
|
RETURNS BOOLEAN
|
||||||
LANGUAGE sql
|
LANGUAGE sql
|
||||||
|
@ -65,3 +66,4 @@ BEGIN
|
||||||
PERFORM public.wait_until_metadata_sync(30000);
|
PERFORM public.wait_until_metadata_sync(30000);
|
||||||
END;
|
END;
|
||||||
$function$;
|
$function$;
|
||||||
|
RESET citus.enable_metadata_sync;
|
||||||
|
|
Loading…
Reference in New Issue