wsrep_reject_queries
This page is part of MariaDB's Documentation.
The parent of this page is: System Variables for MariaDB Enterprise Server
Topics on this page:
Overview
Reject queries from client connections.
See also: System Variables 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
Cluster Nodes can accept or reject queries from client connections. When the Node is configured to reject queries, it continues to replicate write-sets from the cluster and clients can still connect to the Node, but if the client attempts to execute a query, the query it returns an error.
This system variable allows you to specify whether and how the node rejects client queries:
Option | Description |
---|---|
| Cluster Node accepts client queries. |
| Cluster Node rejects client queries. |
| Cluster Node rejects client queries and kills existing client connections, including the current connection, without waiting for any currently running queries to complete. |
PARAMETERS
Command-line | --wsrep_reject_queries[={NONE| |
Configuration file | Supported |
Dynamic | Yes |
Scope | Global |
Data Type | ENUM (NONE, ALL, ALL_KILL) |
Product Default Value | NONE |
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 |
|
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.