cert.optimistic_pa

Overview

Controls parallel applying of replica actions

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 cert.optimistic_pa wsrep_provider_options.

See also: wsrep Provider Options for MariaDB Enterprise Server 11.4, in 10.6 ES, 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

USAGE

DETAILS

The cert.optimistic_pa option controls the parallel application of Replica actions. When enabled, cert.optimistic_pa allows the full range of parallelization as determined by the certification algorithm. When disabled, cert.optimistic_pa limits the parallel application window to not exceed that seen on Primary. The action will start once all actions are committed. Actions should be performed primarily on the Primary node.

Attribute

Value

Option Name

cert.optimistic_pa

Default Value

YES

Dynamic

YES

Debug

NO

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

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_provider_options in the config file, you must list EVERY option that is to have a value other than the default value. Options that are not explicitly listed are reset to the default value.

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='cert.optimistic_pa=NO;gcache.debug=YES;gcs.fc_limit=NO;socket.send_buf_size=NO;evs.keepalive_period=PT3S'

Set Dynamically

Changes made dynamically with SET GLOBAL are not durable and will be lost when the server is stopped. To be durable, changes must be set in the configuration file.

The cert.optimistic_pa option can be set dynamically using the SET GLOBAL command. Setting wsrep_provider_options dynamically does not change the value of other wsrep_provider_options.

To set cert.optimistic_pa dynamically:

SET GLOBAL wsrep_provider_options='cert.optimistic_pa=NO';

To dynamically set multiple options in a single statement:

SET GLOBAL wsrep_provider_options='cert.optimistic_pa=NO;cert.optimistic_pa=NO';

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

11.4 Enterprise

  • Not present.

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

10.6 Community

  • Present starting in MariaDB Community Server 10.6.0.

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.5 Community

  • Present starting in MariaDB Community Server 10.5.0.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

10.4 Community

  • Present starting in MariaDB Community Server 10.4.0.

10.3 Enterprise

  • Present starting in MariaDB Enterprise Server 10.3.16-1.

10.3 Community

  • Present starting in MariaDB Community Server 10.3.0.

10.2 Enterprise

  • Present starting in MariaDB Enterprise Server 10.2.25-1.

10.2 Community

  • Present starting in MariaDB Community Server 10.2.0.

EXTERNAL REFERENCES