I have bootstrapped a node as the first node in a new galera cluster. then when I joined another node to it. the node joind as bootstrap but there are no grastat.dat file in that joind node because I made sure to delete that file so it can not join as bootstrap. here is the log on the joind node
Server version: 10.4.22-MariaDB-log MariaDB Server
2022-04-24 0:02:05 0 [Warning] WSREP: Could not open state file for reading: '/var/lib/mysql//grastate.dat'
2022-04-24 0:02:05 0 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1, safe_to_bootstrap: 1
my question is from where that node find that saved state in the logs that tells it that it is safe to bootstrap ?
and how to prevent the node from bootstrapping ever ?