MySQL Forums
Forum List  »  NDB clusters

Re: Problem with perl script
Posted by: Mikael Ronström
Date: April 11, 2005 03:55PM

Geert Kerkhofs wrote:
> I'm doing a research on database clusters for a
> company and I've created a perl script that
> inserts 10.000 records into a MySQL database
> cluster. But when i execute the script and one of
> the storage nodes crashes (simulated) while
> executing then the perl script stops executing and
> deliveres an error.
> can somebody explain me why it doesn't continue
> executing on the other storage node? What can i do
> to solve this ??
>

When a data node fails all transactions currently ongoing will be aborted
and temporary error will be reported to the application. This temporary
error must be handled by your Perl application to redo the transaction.

When the transaction is redone it should use the surviving nodes in the cluster.

Rgrds Mikael

> Does somebody have some familliar failures?

Options: ReplyQuote


Subject
Views
Written By
Posted
3346
April 11, 2005 08:44AM
Re: Problem with perl script
1946
April 11, 2005 03:55PM
1984
April 14, 2005 08:18AM
1889
April 14, 2005 08:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.