MySQL Forums
Forum List  »  NDB clusters

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 (MysqlIO.java:1997)

at com.mysql.jdbc.MysqlIO.sendCommand (MysqlIO.java:1167)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect (MysqlIO.java:1278)

at com.mysql.jdbc.Connection.execSQL (Connection.java:2247)

at com.mysql.jdbc.PreparedStatement.executeUpdate (PreparedStatement.java:1772)

at com.mysql.jdbc.PreparedStatement.executeUpdate (PreparedStatement.java:1619)

at com.telenity.util.database.connectionPooling.PreparedStatementWrapper.executeUpdate (PreparedStatementWrapper.java:129)

at com.telenity.mgmt.MODatabase.updateMO (MODatabase.java:603)

at com.telenity.mgmt.MODatabase.storeMO (MODatabase.java:678)

at com.telenity.mgmt.MOLibrary.doSet (MOLibrary.java:1138)

at com.telenity.mgmt.MOLibrary.set (MOLibrary.java:1125)

at com.telenity.mgmt.MOBase.updated (MOBase.java:416)

at com.telenity.mgmt.MOBase.updated (MOBase.java:406)

at com.telenity.canvas.mgmt.ConfigurationBase.updated (ConfigurationBase.java:58)

at com.telenity.customization.telekom.ttum.um.smtp.mo.SmtpServerConfigurationBase.updated (SmtpServerConfigurationBase.java:91)

at com.telenity.mgmt.MOBase.commitMOTransaction (MOBase.java:1052)

at com.telenity.mgmt.MOBase.set (MOBase.java:1034)

at com.telenity.mgmt.MO.set (MO.java:898)

at com.telenity.canvas.mgmt.gui.server.MOTreeModel.updateMoInstanceFromFields (MOTreeModel.java:979)

at com.telenity.canvas.mgmt.gui.client.ApplicationMediator.updateMoInstance (ApplicationMediator.java:465)

at com.telenity.canvas.mgmt.gui.client.MOInstancePanel.processUpdateEvent (MOInstancePanel.java:226)

at com.telenity.canvas.mgmt.gui.client.MOInstancePanel.actionPerformed (MOInstancePanel.java:246)

at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1786)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed (AbstractButton.java:1839)

at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:420)

at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:258)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java:245)

at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:231)

at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:231)

at java.awt.Component.processMouseEvent (Component.java:5100)

at java.awt.Component.processEvent (Component.java:4897)

at java.awt.Container.processEvent (Container.java:1569)

at java.awt.Component.dispatchEventImpl (Component.java:3615)

at java.awt.Container.dispatchEventImpl (Container.java:1627)

at java.awt.Component.dispatchEvent (Component.java:3477)

at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:3483)

at java.awt.LightweightDispatcher.processMouseEvent (Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent (Container.java:3128)

at java.awt.Container.dispatchEventImpl (Container.java:1613)

at java.awt.Window.dispatchEventImpl (Window.java:1606)

at java.awt.Component.dispatchEvent (Component.java:3477)

at java.awt.EventQueue.dispatchEvent (EventQueue.java:456)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:151)

at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run (EventDispatchThread.java:100)






Our version is 4.1.11 max

Will be grateful if anyone can help!

Regards,
Kenan

Options: ReplyQuote


Subject
Views
Written By
Posted
Deadlock found when trying to get lock
17210
April 30, 2005 05:14AM


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.