mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-16530 Spider datanodes needs adjusted wait_timeout for long running queries on spider head node (#1258)
Add the following parameters. - spider_remote_wait_timeout Set remote wait_timeout at connecting for improvement performance of connection if you know. -1,0 : No set. 1 or more : Seconds. The default value is -1 - spider_wait_timeout The wait time to remote servers. -1,0 : No set. 1 or more : Seconds. The default value is 604800
This commit is contained in:
@@ -64,6 +64,10 @@ public:
|
||||
spider_string *str,
|
||||
bool sql_log_off
|
||||
);
|
||||
int append_wait_timeout(
|
||||
spider_string *str,
|
||||
int wait_timeout
|
||||
);
|
||||
int append_time_zone(
|
||||
spider_string *str,
|
||||
Time_zone *time_zone
|
||||
@@ -466,6 +470,11 @@ public:
|
||||
bool sql_log_off,
|
||||
int *need_mon
|
||||
);
|
||||
bool set_wait_timeout_in_bulk_sql();
|
||||
int set_wait_timeout(
|
||||
int wait_timeout,
|
||||
int *need_mon
|
||||
);
|
||||
bool set_time_zone_in_bulk_sql();
|
||||
int set_time_zone(
|
||||
Time_zone *time_zone,
|
||||
|
Reference in New Issue
Block a user