ActiveMQ
  1. ActiveMQ
  2. AMQ-3654

JDBC Master/Slave : Slave cannot acquire lock when the master loose database connection.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.7.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Unix/Redhat 5.6
      ActiveMQ 5.5.0
      Oracle 10G

      Description

      Our configuration is JDBC Master/Slave with one master and one slave. When the master is started, he acquire the database lock.
      Then when the slave is started, he wait to acquire the database lock. When the master loose the network connection to the database, the lock in the database is not removed and the slave connot acquire the database lock. In this situation, the master is unable to respond to client (due to network failure)
      and the slave is not started because he can't acquire the database lock.

      When the master is killed, the slave can't acquire the database lock too. After the network connection is restored, when the master starts, it cannot
      acquire lock to the database (because the lod lock is always present) so now, we have two slaves and no master.

      Please, refer to this issue which is the same problem : AMQ-1958

        Issue Links

          Activity

          Richard Martin created issue -
          Richard Martin made changes -
          Field Original Value New Value
          Environment Unix/Redhat 5.6
          ActiveMQ 5.5.0
          Unix/Redhat 5.6
          ActiveMQ 5.5.0
          Oracle 10G
          Timothy Bish made changes -
          Link This issue is related to AMQ-1958 [ AMQ-1958 ]
          Timothy Bish made changes -
          Link This issue is related to AMQ-3681 [ AMQ-3681 ]
          Dejan Bosanac made changes -
          Fix Version/s 5.7.0 [ 12321258 ]
          Fix Version/s 5.6.0 [ 12317974 ]
          Gary Tully made changes -
          Assignee Gary Tully [ gtully ]
          Gary Tully made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Gary Tully
              Reporter:
              Richard Martin
            • Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development