List:Internals« Previous MessageNext Message »
From:Magnus Svensson Date:May 5 2004 8:21am
Subject:Re: NDB node restart behavior
View as plain text  
Hi,

Yes, the ndb process should restart itself when you do a restart in the
management client. As you write, the printout will be "Restarting system"
and then the node should restart itself.


It looks like this functionality is not enabled on OS X, it's the for loop
on line 99 in ndb/src/kernel/ndb-main/Main.cpp that does the trick of
restarting the child it has forked.

Try to enable it by adding NDB_MACOSX to the defines at line 84.
#if defined (NDB_LINUX) || defined (NDB_SOLARIS) || defined (NDB_MACOSX)

Best regards
Magnus Svensson

-- 
Magnus Svensson, Software Engineer
MySQL AB, www.mysql.com
Office: +46 709 164 491

----- Original Message ----- 
From: "Gene Diveglia" <gdiveglia@stripped>
To: <internals@stripped>
Sent: Wednesday, May 05, 2004 4:05 AM
Subject: NDB node restart behavior


>
> Hi, in working with NDB on OS X, I am unclear what the proper restart
> behavior should be for the ndb process when a restart is issued from
> the management client.  Issuing both a 'restart' and a 'stop' have the
> same effect, the ndb process exits.  However, when issuing a 'restart',
> the console output from the affected ndb process issues a "Restarting
> system" message before it exits.  However, the process exists and does
> not restart.  Issuing a 'stop' produces a message stating the system is
> shutting down and exits less abruptly than the 'restart' scenario.
>
> I wanted to query the list on this behavior before I logged a bug
> against it, in case I'm missing something here.
>
> Many thanks,
>
> -Gene Diveglia
>
>
> -- 
> MySQL Internals Mailing List
> For list archives: http://lists.mysql.com/internals
> To unsubscribe:
http://lists.mysql.com/internals?unsub=1
>

Thread
NDB node restart behaviorGene Diveglia5 May
  • Re: NDB node restart behaviorMagnus Svensson5 May