Remove not_exist_already node from mnesia cluster(scheme)

偶尔善良 提交于 2019-11-29 04:37:21

问题


I have a bad node (it doesn't exist) in the mnesia cluster data when I get:

> mnesia:system_info(db_nodes)
[bad@node, ...]

How do I remove it from the cluster?

I tried:

> mnesia:del_table_copy(scheme, bad@node).
{aborted,{not_active,"All replicas on diskfull nodes are not active yet"...

What does this mean? How can I fix it?

Update. Before remove node from schema we need to stop mnesia on it


回答1:


I had a similar problem years ago. What you are trying to do is remove an offline node, which as far as I am aware was impossible in earlier versions of mnesia.

You can however connect to the cluster using a dummy node named bad@node, and started with a tweaked system.config of the original clustered node. Once its online remove from the cluster.



来源:https://stackoverflow.com/questions/3702201/remove-not-exist-already-node-from-mnesia-clusterscheme

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!