Some mnesia subscription problems.

Hakan Mattsson <>
Thu Sep 5 09:34:02 CEST 2002


On Wed, 4 Sep 2002, martin j. logan wrote:

martin> I have an interesting problem with mnesia:subscribe/1. Perhaps someone 
martin> could explain this to me.
martin>
martin>	Inf = mnesia:system_info(is_running),
martin>	Sub = mnesia:subscribe(system),
martin>	io:format("~n~n* Result of subscription ~p ~n Is node running? ~p~n~n", 
martin>	[Sub, Inf]),
martin>	
martin>	Result of subscription {error,{node_not_running, 
martin>	''}}
martin>	Is node running? yes

If you run the code above while Mnesia is shutting down,
the result is expected. But if it happens at other
occations it looks like a bug.

/Håkan



More information about the erlang-questions mailing list