Skip to content

Commit d65cb47

Browse files
authored
remove deprecated options from mysql config template (#237)
* remove binlog_format from mysql template as this Option is deprecated and subject to removal: https://dev.mysql.com/doc/refman/8.4/en/replication-options-binary-log.html#sysvar_binlog_format Replace wsrep_slave_threads with wsrep_applier_threads as Slave naming schema is deprecated * Initialize 8.4 MySQL Repo for Debian based OS
1 parent 8634572 commit d65cb47

8 files changed

Lines changed: 2 additions & 39 deletions

docs/apt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ We gather [Telemetry data] in the Percona packages and Docker images.
6969
6. Enable the `release` repository for *Percona XtraDB Cluster*:
7070

7171
```shell
72-
sudo percona-release setup pxc80
72+
sudo percona-release setup pxc84-lts
7373
```
7474

7575
7. Install the cluster:

docs/configure-cluster-rhel.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ on the first node (`percona1`) contains the following:
6060
# Cluster connection URL contains the IPs of node#1, node#2 and node#3
6161
wsrep_cluster_address=gcomm://192.168.70.71,192.168.70.72,192.168.70.73
6262

63-
# In order for Galera to work correctly binlog format should be ROW
64-
binlog_format=ROW
65-
6663
# Using the MyISAM storage engine is not recommended.
6764
default_storage_engine=InnoDB
6865

@@ -156,9 +153,6 @@ on the first node (`percona1`) contains the following:
156153
# Cluster connection URL contains IPs of node#1, node#2 and node#3
157154
wsrep_cluster_address=gcomm://192.168.70.71,192.168.70.72,192.168.70.73
158155
159-
# In order for Galera to work correctly binlog format should be ROW
160-
binlog_format=ROW
161-
162156
# Using the MyISAM storage engine is not recommended
163157
default_storage_engine=InnoDB
164158
@@ -227,9 +221,6 @@ on the first node (`percona1`) contains the following:
227221
# Cluster connection URL contains IPs of node#1, node#2 and node#3
228222
wsrep_cluster_address=gcomm://192.168.70.71,192.168.70.72,192.168.70.73
229223
230-
# In order for Galera to work correctly binlog format should be ROW
231-
binlog_format=ROW
232-
233224
# Using the MyISAM storage engine is not recommended
234225
default_storage_engine=InnoDB
235226

docs/configure-cluster-ubuntu.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ for the first node (`pxc1`) contains the following:
6464
# Cluster connection URL contains the IPs of node#1, node#2 and node#3
6565
wsrep_cluster_address=gcomm://192.168.70.61,192.168.70.62,192.168.70.63
6666

67-
# In order for Galera to work correctly binlog format should be ROW
68-
binlog_format=ROW
69-
7067
# Using the MyISAM storage engine is not recommended
7168
default_storage_engine=InnoDB
7269

@@ -152,9 +149,6 @@ on the second node (`pxc2`) contains the following:
152149
# Cluster connection URL contains IPs of node#1, node#2 and node#3
153150
wsrep_cluster_address=gcomm://192.168.70.61,192.168.70.62,192.168.70.63
154151
155-
# In order for Galera to work correctly binlog format should be ROW
156-
binlog_format=ROW
157-
158152
# Using the MyISAM storage engine is not recommended
159153
default_storage_engine=InnoDB
160154
@@ -225,9 +219,6 @@ on the third node (`pxc3`) contains the following:
225219
# Cluster connection URL contains IPs of node#1, node#2 and node#3
226220
wsrep_cluster_address=gcomm://192.168.70.61,192.168.70.62,192.168.70.63
227221
228-
# In order for Galera to work correctly binlog format should be ROW
229-
binlog_format=ROW
230-
231222
# Using the MyISAM storage engine is not recommended
232223
default_storage_engine=InnoDB
233224

docs/configure-nodes.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,8 @@ wsrep_provider=/usr/lib64/galera4/libgalera_smm.so
110110
#If no IP is found, this implies that a new cluster needs to be created,
111111
#in order to do that you need to bootstrap this node
112112
wsrep_cluster_address=gcomm://
113-
# In order for Galera to work correctly binlog format should be ROW
114-
binlog_format=ROW
115113
# Slave thread to use
116-
wsrep_slave_threads=8
114+
wsrep_applier_threads=8
117115
wsrep_log_conflicts
118116
# This changes how InnoDB autoincrement locks are managed and is a requirement for Galera
119117
innodb_autoinc_lock_mode=2
@@ -182,10 +180,6 @@ This method requires a user for SST to be set up on the initial node.
182180

183181
[PXC Strict Mode](strict-mode.md#pxc-strict-mode) is enabled by default and set to `ENFORCING`, which blocks the use of tech preview features and unsupported features in Percona XtraDB Cluster.
184182

185-
[`binlog_format`](https://dev.mysql.com/doc/refman/{{vers}}/en/replication-options-binary-log.html#sysvar_binlog_format)
186-
187-
Galera supports only row-level replication, so set `binlog_format=ROW`.
188-
189183
[`default_storage_engine`](https://dev.mysql.com/doc/refman/{{vers}}/en/server-system-variables.html#sysvar_default_storage_engine)
190184

191185
Galera fully supports only the InnoDB storage engine.

docs/set-up-3nodes-ec2.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ To set up Percona XtraDB Cluster:
6969
datadir=/mnt/data
7070
user=mysql
7171
72-
binlog_format=ROW
73-
7472
wsrep_provider=/usr/lib64/libgalera_smm.so
7573
wsrep_cluster_address=gcomm://10.93.46.58,10.93.46.59,10.93.46.60
7674

docs/singlebox.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ To set up the cluster:
2424
basedir=/usr/local/Percona-XtraDB-Cluster-8.0.x86_64
2525
user=mysql
2626
log_error=error.log
27-
binlog_format=ROW
2827
wsrep_cluster_address='gcomm://192.168.2.21:5030,192.168.2.21:6030'
2928
wsrep_provider=/usr/local/Percona-XtraDB-Cluster-8.0.x86_64/lib/libgalera_smm.so
3029
wsrep_sst_receive_address=192.168.2.21:4020
@@ -46,7 +45,6 @@ To set up the cluster:
4645
basedir=/usr/local/Percona-XtraDB-Cluster-8.0.x86_64
4746
user=mysql
4847
log_error=error.log
49-
binlog_format=ROW
5048
wsrep_cluster_address='gcomm://192.168.2.21:4030,192.168.2.21:6030'
5149
wsrep_provider=/usr/local/Percona-XtraDB-Cluster-8.0.x86_64/lib/libgalera_smm.so
5250
wsrep_sst_receive_address=192.168.2.21:5020
@@ -69,7 +67,6 @@ To set up the cluster:
6967
basedir=/usr/local/Percona-XtraDB-Cluster-8.0.x86_64
7068
user=mysql
7169
log_error=error.log
72-
binlog_format=ROW
7370
wsrep_cluster_address='gcomm://192.168.2.21:4030,192.168.2.21:5030'
7471
wsrep_provider=/usr/local/Percona-XtraDB-Cluster-8.0.x86_64/lib/libgalera_smm.so
7572
wsrep_sst_receive_address=192.168.2.21:6020

docs/strict-mode.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,6 @@ At runtime, any attempt to change [`wsrep_replicate_myisam`](wsrep-system-index.
195195

196196
The [`wsrep_replicate_myisam`](wsrep-system-index.md#wsrep_replicate_myisam) variable controls *replication* for MyISAM tables, and this validation only checks whether it is allowed. Undesirable operations for MyISAM tables are restricted using the Storage engine validation.
197197

198-
### Binary log format
199-
200-
Percona XtraDB Cluster supports only the default row-based binary logging format. In
201-
{{vers}}, setting the [binlog_format](https://dev.mysql.com/doc/refman/{{vers}}/en/replication-options-binary-log.html#sysvar_binlog_format) variable to anything but
202-
`ROW` at startup or runtime is not allowed regardless of the value of the `pxc_strict_mode` variable.
203-
204198
### Tables without primary keys
205199

206200
Percona XtraDB Cluster cannot properly propagate certain write operations

docs/wsrep-system-index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ or the node is bootstrapping, then [`pxc_strict_mode`](wsrep-system-index.md#pxc
114114
115115
* `wsrep_replicate_myisam=OFF`
116116
117-
* `binlog_format=ROW`
118-
119117
* `log_output=FILE` or `log_output=NONE` or `log_output=FILE,NONE`
120118
121119
The `SERIALIZABLE` method of isolation is not allowed in `ENFORCING` mode.

0 commit comments

Comments
 (0)