Disable metadata sync for helper functions

velioglu/tmpfuncprop
Burak Velioglu 2022-02-14 12:50:30 +03:00
parent 9574ebc988
commit 0557d67d78
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
1 changed files with 2 additions and 0 deletions

View File

@ -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;