You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2010/02/24 18:59:27 UTC

[jira] Updated: (FELIX-2129) [Karaf] Possible hang with slave instances of Karaf when using Oracle JDBC lock.

     [ https://issues.apache.org/jira/browse/FELIX-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear updated FELIX-2129:
----------------------------------

    Attachment: felix2129.txt

File: felix2129.txt

Contains a one line change to add the NOWAIT directive to the FOR UPDATE statement.

This will allow slave instances to gracefully skip blocking on a locked table.

> [Karaf] Possible hang with slave instances of Karaf when using Oracle JDBC lock.
> --------------------------------------------------------------------------------
>
>                 Key: FELIX-2129
>                 URL: https://issues.apache.org/jira/browse/FELIX-2129
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>         Environment: Oracle XE Database backend for Karaf JDBC locking.
>            Reporter: Jamie goodyear
>         Attachments: felix2129.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.