ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | c-jdbc List | May 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [c-jdbc] no checkpoint created when manually killing DB


Hi,

is this a bug?
No this is the expected behavior. If you kill a database without stopping it properly, C-JDBC has no way to distinguish if the write query failed because the database was down or if it just crashed after executing the write. Therefore there is no way to determine what is the exact state of the database and it is not safe to insert a checkpoint in the recovery log in that case. You should always disable a backend from the console before shutting it down. You can easily use the text console to script the disable operation and probably insert it in your MySQL shutdown script.

Thanks for your interest in C-JDBC,
Emmanuel



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.