[erlang-questions] Mnesia crash, when node name changes

Prakash Parmar prakashkumar_parmar@REDACTED
Fri Apr 20 12:16:51 CEST 2018


Are you trying to replace node name in schema ?
 
-cheers
Prakash
 
-----Original Message-----
From: "lankeanandrao" <lankeanandrao@REDACTED>
Sent: Friday, April 20, 2018 3:37pm
To: erlang-questions@REDACTED
Subject: [erlang-questions] Mnesia crash, when node name changes



Hi All,

    I  have an application, which is running in distributed way. When first time the application is getting started the mnesia is created based on the node name which is created dynamically (for example; [ sample@REDACTED ]( mailto:sample@REDACTED )). The mnesia data is persistent data. When the node name is changed (for example; [ sample@REDACTED ]( mailto:sample@REDACTED )) the mnesia is not getting started in the node. Here in code I am trying to modify / replace the node name with new node name created dynamically. 

Here I have attached the erl_crash.dump file.
    Anyone have idea, why the mnesia is not getting started & erlang is crashing ?regards,
Anand Rao L


******* DISCLAIMER: This email and any files transmitted with it are privileged and confidential information and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Torry Harris Business Solutions has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail.  The recipient should check this email and any attachments for the presence of viruses. THBS reserves the right to monitor and review the content of all messages sent to or from this e-mail address********



******* DISCLAIMER: This email and any files transmitted with it are privileged and confidential information and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Torry Harris Business Solutions has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail.  The recipient should check this email and any attachments for the presence of viruses. THBS reserves the right to monitor and review the content of all messages sent to or from this e-mail address.********
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180420/d2e4d786/attachment.htm>


More information about the erlang-questions mailing list