cooperative_monitoring_locks

Overview

In 6, 2.5:

Type: enum, default value: none

In 2.4, 2.3:

Not present

See also: Module Parameters for MariaDB MaxScale 6, in 2.5, in 2.4, and in 2.3

DETAILS

The cooperative_monitoring_locks parameter for the MariaDB Monitor in maxscale.cnf is used to configure cooperative locking in MariaDB MaxScale.

The cooperative_monitoring_locks parameter has the following possible values:

Value

Description

none

Do not use any cooperative locking. This is the default value.

majority_of_all

Primary monitor requires locks on a majority of servers, even those which are down.

majority_of_running

Primary monitor requires locks on a majority of running servers.

For example:

[repl-cluster]
type                     = monitor
module                   = mariadbmon
...
cooperative_monitoring_locks = majority_of_running

EXTERNAL REFERENCES