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();
|
||||
|
||||
-- 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)
|
||||
RETURNS BOOLEAN
|
||||
LANGUAGE sql
|
||||
|
@ -65,3 +66,4 @@ BEGIN
|
|||
PERFORM public.wait_until_metadata_sync(30000);
|
||||
END;
|
||||
$function$;
|
||||
RESET citus.enable_metadata_sync;
|
||||
|
|
Loading…
Reference in New Issue