Closed GoogleCodeExporter closed 9 years ago
What I really mean is: after the change is complete and committed (DDL always
does
autocommit), after returning from the executeUpdate() call, CTRL-C should be
blocked
until the update of the DBVERSION tables is committed.
So an update in progress should still be allowed to be aborted with a CTRL-C.
This will seriously reduce inconsistencies and increase restartability.
Original comment by rene.de....@gmail.com
on 6 Jun 2010 at 1:45
Original comment by rene.de....@gmail.com
on 7 Jun 2010 at 3:26
Fixed by rev 505.
Original comment by rene.de....@gmail.com
on 9 Oct 2010 at 6:38
Reopen, the unit tests hang sometimes.
Solution would be that the main thread creates a worker thread to do the work
and the shutdown hook thread to react to the SIGTERM signal.
This way, they are siblings, and not parent/child, which means that the
ShutdownHook thread is able to interrupt the worker thread and then join it
(that didn't work with the main thread because the main thread waits for other
thread, and then you get a deadlock).
Original comment by rene.de....@gmail.com
on 9 Oct 2010 at 8:52
This issue was closed by revision r507.
Original comment by rene.de....@gmail.com
on 9 Oct 2010 at 10:55
Original issue reported on code.google.com by
rene.de....@gmail.com
on 17 May 2010 at 11:59