mirror of https://github.com/apache/cloudstack.git
resolved a bug where the wrong msid was used in releasing locks
This commit is contained in:
parent
5619f0490c
commit
b54edececf
|
|
@ -261,7 +261,7 @@ public class Merovingian2 extends StandardMBean implements MerovingianMBean {
|
|||
PreparedStatement pstmt = null;
|
||||
try {
|
||||
pstmt = _conn.prepareStatement(CLEANUP_MGMT_LOCKS_SQL);
|
||||
pstmt.setLong(1, _msId);
|
||||
pstmt.setLong(1, msId);
|
||||
int rows = pstmt.executeUpdate();
|
||||
s_logger.info("Released " + rows + " locks for " + msId);
|
||||
} catch (SQLException e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue