From 915e0f1d60dea9dc95dde79170639918209aca5d Mon Sep 17 00:00:00 2001 From: chillon_m Date: Tue, 15 Aug 2023 22:30:52 +0800 Subject: [PATCH] fix database repository save tansformation maybe raised deadlock --- .../kdr/delegates/KettleDatabaseRepositoryTransDelegate.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/engine/src/main/java/org/pentaho/di/repository/kdr/delegates/KettleDatabaseRepositoryTransDelegate.java b/engine/src/main/java/org/pentaho/di/repository/kdr/delegates/KettleDatabaseRepositoryTransDelegate.java index 59eb9a77685d..c084316248f2 100644 --- a/engine/src/main/java/org/pentaho/di/repository/kdr/delegates/KettleDatabaseRepositoryTransDelegate.java +++ b/engine/src/main/java/org/pentaho/di/repository/kdr/delegates/KettleDatabaseRepositoryTransDelegate.java @@ -393,10 +393,6 @@ public void saveTransformation( TransMeta transMeta, String versionComment, Prog if ( monitor != null ) { monitor.subTask( BaseMessages.getString( PKG, "TransMeta.Monitor.UnlockingRepository" ) ); } - repository.unlockRepository(); - - // Perform a commit! - repository.commit(); transMeta.clearChanged(); if ( monitor != null ) {