List:Internals« Previous MessageNext Message »
From:MARK CALLAGHAN Date:April 9 2012 7:19pm
Subject:Re: crashing server during a mysql test
View as plain text  
For deterministic kill it can be done via the test/debug macros. We do
this frequently in tests added to the Facebook patch. Official MySQL
has very few crash recovery tests. Here is an example:

Grep server source for "crash_commit_before" to see how this is done

On Mon, Apr 9, 2012 at 12:02 PM, Zardosht Kasheff <zardosht@stripped> wrote:
> Hello all,
> Is there a way to kill a server in the MySQL test framework? I
> understand that --shutdown_server num_seconds will shut the server
> down, and if the server has not gone down after num_seconds, the
> process will be killed, but I am looking for something that guarantees
> a kill.
> Thanks
> -Zardosht
> --
> MySQL Internals Mailing List
> For list archives:
> To unsubscribe:

Mark Callaghan
crashing server during a mysql testZardosht Kasheff9 Apr
  • Re: crashing server during a mysql testMARK CALLAGHAN9 Apr