Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2129

[Karaf] Possible hang with slave instances of Karaf when using Oracle JDBC lock.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • karaf 1.6.0
    • Karaf
    • 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.

      Attachments

        1. felix2129.txt
          0.7 kB
          Jamie Mark Goodyear

        Activity

          People

            ccustine Chris Custine
            jgoodyear Jamie Mark Goodyear
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: