Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Oracle XE Database backend for Karaf JDBC locking.
Description
Possible hang with slave instances of Karaf when using Oracle JDBC lock.
If we start up the master and slave as normal, then try to stop the slave, it does not release its attempted JDBC lock, and therefore hangs during shutdown. If we then stop the master, the slave throws an error and finally exits.
The problem is in the FOR UPDATE statement in setUpdateCursor, adding NOWAIT resolves the issue.
I'll be supplying a patch for this.