5個(gè)節(jié)點(diǎn) 主動(dòng)關(guān)閉node1 之后 重啟失敗
docker logs node1 失敗日志
1 | It?may?not?be?safe?to?bootstrap?the?cluster?from?this?node.?It?was?not?the?last?one?to?leave?the?cluster?and?may?not?contain?all?the?updates.?To?force?cluster?bootstrap?with?this?node,?edit?the?grastate.dat? file ?manually?and? set ?safe_to_bootstrap?to?1?. |
不用通過修改?safe_to_bootstrap to 1 的方式如何啟動(dòng)node1 ,因?yàn)槲乙呀?jīng)在其他節(jié)點(diǎn)進(jìn)行了數(shù)據(jù)插入,如果 safe_to_bootstrap? 改成1 啟動(dòng)成功 但是數(shù)據(jù)并沒有同步, 如何通過其他方式啟動(dòng)node1并且同步數(shù)據(jù)?
2022-02-16
看一下你的node的版本