MySQL Forums :: NDB clusters :: Deadlock found when trying to get lock

Advanced Search

Deadlock found when trying to get lock
Posted by: Kenan Ozturk ()
Date: April 30, 2005 05:14AM

Hi All,

we have a cluster system which consists of 3 nodes with 2 data nodes and 1 management node. SQL nodes are running on data nodes also.

when we try to update tables we get these errors :

java.sql.SQLException: Deadlock found when trying to get lock; Try restarting transaction message from server: "Lock wait timeout exceeded; try restarting transaction"

at com.mysql.jdbc.MysqlIO.checkErrorPacket (

at com.mysql.jdbc.MysqlIO.sendCommand (

at com.mysql.jdbc.MysqlIO.sqlQueryDirect (

at com.mysql.jdbc.Connection.execSQL (

at com.mysql.jdbc.PreparedStatement.executeUpdate (

at com.mysql.jdbc.PreparedStatement.executeUpdate (

at com.telenity.util.database.connectionPooling.PreparedStatementWrapper.executeUpdate (

at com.telenity.mgmt.MODatabase.updateMO (

at com.telenity.mgmt.MODatabase.storeMO (

at com.telenity.mgmt.MOLibrary.doSet (

at com.telenity.mgmt.MOLibrary.set (

at com.telenity.mgmt.MOBase.updated (

at com.telenity.mgmt.MOBase.updated (

at com.telenity.canvas.mgmt.ConfigurationBase.updated (

at (

at com.telenity.mgmt.MOBase.commitMOTransaction (

at com.telenity.mgmt.MOBase.set (

at com.telenity.mgmt.MO.set (

at com.telenity.canvas.mgmt.gui.server.MOTreeModel.updateMoInstanceFromFields (

at com.telenity.canvas.mgmt.gui.client.ApplicationMediator.updateMoInstance (

at com.telenity.canvas.mgmt.gui.client.MOInstancePanel.processUpdateEvent (

at com.telenity.canvas.mgmt.gui.client.MOInstancePanel.actionPerformed (

at javax.swing.AbstractButton.fireActionPerformed (

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed (

at javax.swing.DefaultButtonModel.fireActionPerformed (

at javax.swing.DefaultButtonModel.setPressed (

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (

at java.awt.AWTEventMulticaster.mouseReleased (

at java.awt.AWTEventMulticaster.mouseReleased (

at java.awt.Component.processMouseEvent (

at java.awt.Component.processEvent (

at java.awt.Container.processEvent (

at java.awt.Component.dispatchEventImpl (

at java.awt.Container.dispatchEventImpl (

at java.awt.Component.dispatchEvent (

at java.awt.LightweightDispatcher.retargetMouseEvent (

at java.awt.LightweightDispatcher.processMouseEvent (

at java.awt.LightweightDispatcher.dispatchEvent (

at java.awt.Container.dispatchEventImpl (

at java.awt.Window.dispatchEventImpl (

at java.awt.Component.dispatchEvent (

at java.awt.EventQueue.dispatchEvent (

at java.awt.EventDispatchThread.pumpOneEventForHierarchy (

at java.awt.EventDispatchThread.pumpEventsForHierarchy (

at java.awt.EventDispatchThread.pumpEvents (

at java.awt.EventDispatchThread.pumpEvents (

at (

Our version is 4.1.11 max

Will be grateful if anyone can help!


Options: ReplyQuote

Subject Views Written By Posted
Deadlock found when trying to get lock 17168 Kenan Ozturk 04/30/2005 05:14AM
Re: Deadlock found when trying to get lock 7795 Jonathan Miller 04/30/2005 03:04PM
Re: Deadlock found when trying to get lock 7117 Kenan Ozturk 05/02/2005 12:10AM
Re: Deadlock found when trying to get lock 11623 Jonathan Miller 05/06/2005 03:07AM
Re: Deadlock found when trying to get lock 6220 Arif Mohammed 07/02/2007 03:52AM
Re: Deadlock found when trying to get lock 4862 Jonathan Stephens 07/05/2007 07:05AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.