evs.delay_margin
This page is part of MariaDB's Documentation.
The parent of this page is: wsrep Provider Options for MariaDB Enterprise Server
Topics on this page:
Overview
Defines how long the node allows response times to deviate before adding an entry to the delayed list
The wsrep_provider_options
system variable applies to MariaDB Enterprise Cluster, powered by Galera and to Galera Cluster available with MariaDB Community Server. This page relates specifically to the evs.delay_wsrep_provider_options
.
See also: wsrep Provider Options for MariaDB Enterprise Server 10.6, in 10.5 ES, in 10.4 ES, in 10.3 ES, in 10.2 ES, in 10.6 CS, in 10.5 CS, in 10.4 CS, in 10.3 CS, and in 10.2 CS
DETAILS
Each cluster node monitors group communication response times from all other nodes. When the cluster registers a delayed response from a given node, it adds an entry for that node to its delayed list. Delayed nodes can trigger Auto Eviction
, which removes them permanently from the cluster.
The evs.delay_margin
option determines how long a delay can run before the node adds an entry to the delayed list.
The evs.delay_margin
option must be set to a value higher than the round-trip delay time (RTT) between the nodes.
Attribute | Value |
---|---|
Option Name | evs.delay_margin |
Default Value |
|
Minimum Value | PT0S |
Maximum Value | PT30S |
Dynamic | NO |
Debug |
|
EXAMPLES
Display Current Value
wsrep_provider_options
define optional settings the node passes to the wsrep provider.
To display current wsrep_provider_options
values:
SHOW GLOBAL VARIABLES LIKE 'wsrep_provider_options';
The expected output will display the option and the value. Options with no default value, for example SSL options, will not be displayed in the output.
Set in Configuration File
When changing a setting for a wsrep_
Options are set in the my.cnf
configuration file. Use the ;
delimiter to set multiple options.
The configuration file must be updated on each node. A restart to each node is needed for changes to take effect.
Use a quoted string that includes every option where you want to override the default value. Options that are not in the list will reset to their default value.
To set the option in the configuration file:
wsrep_provider_options='evs.delay_margin=PT35S;gcache.debug=YES;gcs.fc_limit=NO;socket.send_buf_size=NO;evs.keepalive_period=PT3S'
Set Dynamically
The evs.delay_margin option cannot be set dynamically. It can only be set in the configuration file.
Trying to change a non-dynamic option with SET
results in an error:
ERROR 1210 (HY000): Incorrect arguments to SET
Minimum Value
The minimum value for evs.delay_margin is PT0S.
Maximum Value
The maximum value for evs.delay_margin is PT30S.
CHANGE HISTORY
Release Series | History |
---|---|
10.6 Enterprise |
|
10.6 Community |
|
10.5 Enterprise |
|
10.5 Community |
|
10.4 Enterprise |
|
10.4 Community |
|
10.3 Enterprise |
|
10.3 Community |
|
10.2 Enterprise |
|
10.2 Community |
|