Skip to content

Commit 3c64278

Browse files
authored
Merge pull request #233 from percona/pxc-4660
PXC-4660 [DOCS]- add pc_bootstrap to wsrep_provider options in 8.4
2 parents d0a99bd + 8d0aec6 commit 3c64278

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/wsrep-provider-index.md

+25
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,31 @@ State Transfer ([IST](glossary.md#ist)).
850850
Cluster joining announcements are sent every 1/2 second for this period of time
851851
or less if other nodes are discovered.
852852

853+
### `pc.bootstrap`
854+
855+
| Option | Description |
856+
| -------------- | ------------------ |
857+
| Command Line: | No |
858+
| Config File: | Yes |
859+
| Scope: | Global |
860+
| Dynamic: | No |
861+
| Default Value: | FALSE |
862+
863+
`pc.bootstrap` is a configuration option that instructs a node to become the initial starting point for a new cluster or rejoin an existing one as the primary component (PC). You can only set this option in the configuration file.
864+
865+
```text
866+
wsrep_provider_options="pc.bootstrap=TRUE"
867+
```
868+
869+
You can use `pc.bootstrap` in the following:
870+
871+
| Action | Description |
872+
|---|---|
873+
| Bootstrap a New Cluster | When setting up a new Galera cluster, designate one node as the bootstrap node by setting `pc.bootstrap=YES` on that node. This allows the node to initialize the cluster and become the primary component. Other nodes can then discover and join this primary node. |
874+
| Rejoining a Cluster (Use with Caution) | If a Galera node needs to rejoin the cluster as the primary component (for example, after a disconnect or restart), you can use `pc.bootstrap=TRUE`. This is generally not recommended as it can lead to data loss if other cluster nodes made changes while the bootstrapping node was offline. |
875+
876+
By default, pc.bootstrap is disabled (FALSE).
877+
853878
### `pc.checksum`
854879

855880
| Option | Description |

0 commit comments

Comments
 (0)