Unable to delete review

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Unable to delete review with the following appears in the fisheye-dbdebug-*.log:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 2012-09-06 10:43:51,630 WARN [notificationManager1] util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - SQL Error: 1205, SQLState: 41000 2012-09-06 10:43:51,630 ERROR [notificationManager1] util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - Lock wait timeout exceeded; try restarting transaction 2012-09-06 10:43:51,631 ERROR [notificationManager1] def.AbstractFlushingEventListener AbstractFlushingEventListener-performExecutions - Could not synchronize database state with session org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:262) ... Caused by: java.sql.BatchUpdateException: Lock wait timeout exceeded; try restarting transaction ... Caused by: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction

Cause

The Crucible index may have been out-of-sync with the database

Resolution

  1. Reindex Crucible at Administration >> Global Settings >> Crucible

  2. Delete the review again

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.