[MDEV-17623] Cannot Initialize a New Cluster using /usr/bin/galera_new_cluster Created: 2018-11-06 Updated: 2018-11-20 Resolved: 2018-11-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation, Galera |
| Affects Version/s: | 10.3.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Test Jetco | Assignee: | Ian Gilfillan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | galera | ||
| Environment: |
RedHat Enterprise 7.3 |
||
| Attachments: |
|
| Description |
|
I have installed mariadb 10.3.10 rpm version. I established 3 nodes. On the first node, I execute the following command to initialize the cluster:
It was done successfully. However, when I queried the result, it showed the following:
wsrep_cluster_size is 0, not 1. Why? |
| Comments |
| Comment by Elena Stepanova [ 2018-11-06 ] |
|
I would think it's because you don't have wsrep_on. But our current documentation seems to contradict it, saying that the value of the variable doesn't affect the membership. Assigning to jplindst to clarify. |
| Comment by Teemu Ollakka [ 2018-11-09 ] |
|
The documentation is not clear between the difference between GLOBAL and SESSION variable. If GLOBAL wsrep_on=OFF, it should not be possible to load provider and join the node in the cluster. However, if SESSION wsrep_on is set to OFF, the operations from that particular session are not replicated in the cluster, but other sessions and applier threads will continue as normal. |
| Comment by Elena Stepanova [ 2018-11-09 ] |
|
teemu.ollakka, |
| Comment by Jan Lindström (Inactive) [ 2018-11-12 ] |
|
Galera cluster will be created and used if and only if wsrep_on=ON and wsrep provider library can be loaded. |
| Comment by Jan Lindström (Inactive) [ 2018-11-12 ] |
|
greenman Can you clarify the documentation in above ^ |