| 1 |
# Correct Galera library found |
| 2 |
select variable_type, global_value from information_schema.system_variables where variable_name = 'wsrep_provider_socket_recv_buf_size'; |
| 3 |
variable_type global_value |
| 4 |
VARCHAR auto |
| 5 |
set global wsrep_provider_socket_recv_buf_size = 'foo'; |
| 6 |
ERROR 42000: Variable 'socket_recv_buf_size' can't be set to the value of 'foo' |
| 7 |
set global wsrep_provider_socket_recv_buf_size = '1M'; |
| 8 |
show global variables like 'wsrep_provider_socket_recv_buf_size'; |
| 9 |
Variable_name Value |
| 10 |
wsrep_provider_socket_recv_buf_size 1M |
| 11 |
set global wsrep_provider_socket_recv_buf_size = default; |
| 12 |
show global variables like 'wsrep_provider_socket_recv_buf_size'; |
| 13 |
Variable_name Value |
| 14 |
wsrep_provider_socket_recv_buf_size auto |
| 15 |
select variable_type, global_value from information_schema.system_variables where variable_name = 'wsrep_provider_evs_send_window'; |
| 16 |
variable_type global_value |
| 17 |
BIGINT 4 |
| 18 |
set global wsrep_provider_evs_send_window = -10; |
| 19 |
ERROR 42000: Variable 'evs_send_window' can't be set to the value of '-10' |
| 20 |
set global wsrep_provider_evs_send_window = 10; |
| 21 |
show global variables like 'wsrep_provider_evs_send_window'; |
| 22 |
Variable_name Value |
| 23 |
wsrep_provider_evs_send_window 10 |
| 24 |
set global wsrep_provider_evs_send_window = default; |
| 25 |
show global variables like 'wsrep_provider_evs_send_window'; |
| 26 |
Variable_name Value |
| 27 |
wsrep_provider_evs_send_window 4 |
| 28 |
select variable_type from information_schema.system_variables where variable_name = 'wsrep_provider_gcs_max_throttle'; |
| 29 |
variable_type |
| 30 |
DOUBLE |
| 31 |
set global wsrep_provider_gcs_max_throttle = 1.1; |
| 32 |
ERROR 42000: Variable 'gcs_max_throttle' can't be set to the value of '1.100000' |
| 33 |
set global wsrep_provider_gcs_max_throttle = 0.5; |
| 34 |
show global variables like 'wsrep_provider_gcs_max_throttle'; |
| 35 |
Variable_name Value |
| 36 |
wsrep_provider_gcs_max_throttle 0.500000 |
| 37 |
set global wsrep_provider_gcs_max_throttle = default; |
| 38 |
show global variables like 'wsrep_provider_gcs_max_throttle'; |
| 39 |
Variable_name Value |
| 40 |
wsrep_provider_gcs_max_throttle 0.250000 |
| 41 |
select variable_type from information_schema.system_variables where variable_name = 'wsrep_provider_cert_log_conflicts'; |
| 42 |
variable_type |
| 43 |
BOOLEAN |
| 44 |
set global wsrep_provider_cert_log_conflicts = on; |
| 45 |
show global variables like 'wsrep_provider_cert_log_conflicts'; |
| 46 |
Variable_name Value |
| 47 |
wsrep_provider_cert_log_conflicts ON |
| 48 |
set global wsrep_provider_cert_log_conflicts = off; |
| 49 |
show global variables like 'wsrep_provider_cert_log_conflicts'; |
| 50 |
Variable_name Value |
| 51 |
wsrep_provider_cert_log_conflicts OFF |
| 52 |
set global wsrep_provider_cert_log_conflicts = default; |
| 53 |
show global variables like 'wsrep_provider_cert_log_conflicts'; |
| 54 |
Variable_name Value |
| 55 |
wsrep_provider_cert_log_conflicts OFF |
| 56 |
select read_only from information_schema.system_variables where variable_name = 'wsrep_provider_evs_auto_evict'; |
| 57 |
read_only |
| 58 |
YES |
| 59 |
set global wsrep_provider_evs_auto_evict = on; |
| 60 |
ERROR HY000: Variable 'wsrep_provider_evs_auto_evict' is a read only variable |
| 61 |
set global wsrep_provider_gcs_fc_master_slave = default; |
| 62 |
Warnings: |
| 63 |
Warning 1287 '@@wsrep_provider_gcs_fc_master_slave' is deprecated and will be removed in a future release |
| 64 |
call mtr.add_suppression("error setting param"); |
| 65 |
call mtr.add_suppression("Unknown parameter"); |
| 66 |
call mtr.add_suppression("Setting parameter"); |