mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 18:43:18 +08:00
This PR introduces a timeout argument and a new logic to the timescale_internal.ping_data_node() function which allows to handle io timeouts for nodes being unresponsive. Fix #5312
11 lines
410 B
SQL
11 lines
410 B
SQL
GRANT ALL ON _timescaledb_internal.job_errors TO PUBLIC;
|
|
|
|
ALTER EXTENSION timescaledb DROP VIEW timescaledb_information.job_errors;
|
|
|
|
DROP VIEW timescaledb_information.job_errors;
|
|
|
|
DROP FUNCTION _timescaledb_internal.ping_data_node(NAME, INTERVAL);
|
|
|
|
CREATE OR REPLACE FUNCTION _timescaledb_internal.ping_data_node(node_name NAME) RETURNS BOOLEAN
|
|
AS '@MODULE_PATHNAME@', 'ts_data_node_ping' LANGUAGE C VOLATILE;
|