403Webshell
Server IP : 104.21.38.3  /  Your IP : 172.70.92.159
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/mysql/mysql-test/suite/group_replication/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/mysql-test/suite/group_replication/r/gr_flow_control_options.result
include/group_replication.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection server1]
SET @group_replication_flow_control_mode_save= @@GLOBAL.group_replication_flow_control_mode;
SET @group_replication_flow_control_certifier_threshold_save= @@GLOBAL.group_replication_flow_control_certifier_threshold;
SET @group_replication_flow_control_applier_threshold_save= @@GLOBAL.group_replication_flow_control_applier_threshold;

############################################################
# 1. Test group_replication_flow_control_mode option.
SET GLOBAL group_replication_flow_control_mode= "";
ERROR 42000: Variable 'group_replication_flow_control_mode' can't be set to the value of ''
SET GLOBAL group_replication_flow_control_mode= "XXX";
ERROR 42000: Variable 'group_replication_flow_control_mode' can't be set to the value of 'XXX'
SET GLOBAL group_replication_flow_control_mode= -1;
ERROR 42000: Variable 'group_replication_flow_control_mode' can't be set to the value of '-1'
SET GLOBAL group_replication_flow_control_mode= 2;
ERROR 42000: Variable 'group_replication_flow_control_mode' can't be set to the value of '2'
SET GLOBAL group_replication_flow_control_mode= DISABLED;
include/assert.inc [group_replication_flow_control_mode is correct]
SET GLOBAL group_replication_flow_control_mode= QUOTA;
include/assert.inc [group_replication_flow_control_mode is correct]
SET GLOBAL group_replication_flow_control_mode= 0;
include/assert.inc [group_replication_flow_control_mode is correct]
SET GLOBAL group_replication_flow_control_mode= 1;
include/assert.inc [group_replication_flow_control_mode is correct]

############################################################
# 2. Test group_replication_flow_control_certifier_threshold
#    option.
SET GLOBAL group_replication_flow_control_certifier_threshold= "";
ERROR 42000: Incorrect argument type to variable 'group_replication_flow_control_certifier_threshold'
SET GLOBAL group_replication_flow_control_certifier_threshold= -1;
Warnings:
Warning	1292	Truncated incorrect group_replication_flow_control_c value: '-1'
include/assert.inc [group_replication_flow_control_certifier_threshold is truncated]
SET GLOBAL group_replication_flow_control_certifier_threshold= 2147483648;
Warnings:
Warning	1292	Truncated incorrect group_replication_flow_control_c value: '2147483648'
include/assert.inc [group_replication_flow_control_certifier_threshold is truncated]
SET GLOBAL group_replication_flow_control_certifier_threshold= 1;
include/assert.inc [group_replication_flow_control_certifier_threshold is correct]
SET GLOBAL group_replication_flow_control_certifier_threshold= 2147483647;
include/assert.inc [group_replication_flow_control_certifier_threshold is correct]

############################################################
# 3. Test group_replication_flow_control_applier_threshold
#    option.
SET GLOBAL group_replication_flow_control_applier_threshold= "";
ERROR 42000: Incorrect argument type to variable 'group_replication_flow_control_applier_threshold'
SET GLOBAL group_replication_flow_control_applier_threshold= -1;
Warnings:
Warning	1292	Truncated incorrect group_replication_flow_control_a value: '-1'
include/assert.inc [group_replication_flow_control_applier_threshold is truncated]
SET GLOBAL group_replication_flow_control_applier_threshold= 2147483648;
Warnings:
Warning	1292	Truncated incorrect group_replication_flow_control_a value: '2147483648'
include/assert.inc [group_replication_flow_control_applier_threshold is truncated]
SET GLOBAL group_replication_flow_control_applier_threshold= 1;
include/assert.inc [group_replication_flow_control_applier_threshold is correct]
SET GLOBAL group_replication_flow_control_applier_threshold= 2147483647;
include/assert.inc [group_replication_flow_control_applier_threshold is correct]

############################################################
# 4. Change all group_replication_flow_control options while
#    Group Replication is running.
include/start_and_bootstrap_group_replication.inc
SET GLOBAL group_replication_flow_control_mode= DISABLED;
include/assert.inc [group_replication_flow_control_mode is correct]
SET GLOBAL group_replication_flow_control_mode= QUOTA;
include/assert.inc [group_replication_flow_control_mode is correct]
SET GLOBAL group_replication_flow_control_certifier_threshold= 1000;
include/assert.inc [group_replication_flow_control_certifier_threshold is correct]
SET GLOBAL group_replication_flow_control_applier_threshold= 1000;
include/assert.inc [group_replication_flow_control_applier_threshold is correct]

############################################################
# 5. Clean up.
SET GLOBAL group_replication_flow_control_mode= @group_replication_flow_control_mode_save;
SET GLOBAL group_replication_flow_control_certifier_threshold= @group_replication_flow_control_certifier_threshold_save;
SET GLOBAL group_replication_flow_control_applier_threshold= @group_replication_flow_control_applier_threshold_save;
include/group_replication_end.inc

Youez - 2016 - github.com/yon3zu
LinuXploit