Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 88999 invoked from network); 10 Aug 2010 13:27:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Aug 2010 13:27:42 -0000 Received: (qmail 65534 invoked by uid 500); 10 Aug 2010 13:27:41 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 65498 invoked by uid 500); 10 Aug 2010 13:27:41 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 65406 invoked by uid 99); 10 Aug 2010 13:27:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 13:27:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 13:27:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7ADRH5P025715 for ; Tue, 10 Aug 2010 13:27:18 GMT Message-ID: <22360097.3731281446837966.JavaMail.jira@thor> Date: Tue, 10 Aug 2010 09:27:17 -0400 (EDT) From: "Hadrian Zbarcea (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2414) JDBC datastore locking does not work when using MYSQL cluster In-Reply-To: <1427935676.1253886651988.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hadrian Zbarcea updated AMQ-2414: --------------------------------- Fix Version/s: 5.4.1 (was: 5.4.0) > JDBC datastore locking does not work when using MYSQL cluster > ------------------------------------------------------------- > > Key: AMQ-2414 > URL: https://issues.apache.org/activemq/browse/AMQ-2414 > Project: ActiveMQ > Issue Type: Bug > Components: Message Store > Affects Versions: 5.3.0 > Reporter: Alexander Fisher > Fix For: 5.4.1 > > Attachments: mysql-cluster-locking-r818849.patch > > > JDBC Master/Slave doesn't work properly for mysql cluster when the master and slave brokers are using different MYSQL frontends as would be required in a HA setup. The code currently locks the database using a TABLE lock which are not cluster wide in mysql. > http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-limitations-multiple-nodes.html > The default code path uses a SELECT FOR UPDATE to get a lock. This is supported in mysql cluster. > The attached patch works for me. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.