diff --git a/CHANGELOG.md b/CHANGELOG.md index 2339631..5629a28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm # Changelog for Smart Executor Service +## [3.2.1-SNAPSHOT] + +- Fixed bug on concurrent attempt to enter in a session while trying to schedule a second task #27319 +- Fixed bug on concurrent attempt to enter in a session while trying to execute another task #24116 + + ## [v3.2.0] - Fixed RequestFilter to avoid to remove info to Smartgears diff --git a/pom.xml b/pom.xml index ed50db9..076149b 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ org.gcube.vremanagement smart-executor - 3.2.0 + 3.2.1-SNAPSHOT SmartExecutor Smart Executor Service allows to launch recurrent tasks such as task for infrastructure management, healthy monitoring etc. war diff --git a/src/main/java/org/gcube/vremanagement/executor/SmartExecutorInitializator.java b/src/main/java/org/gcube/vremanagement/executor/SmartExecutorInitializator.java index 4b246bc..6c394a0 100644 --- a/src/main/java/org/gcube/vremanagement/executor/SmartExecutorInitializator.java +++ b/src/main/java/org/gcube/vremanagement/executor/SmartExecutorInitializator.java @@ -134,7 +134,7 @@ public class SmartExecutorInitializator implements ApplicationManager { Thread thread = new Thread(){ @Override - public void run(){ + public synchronized void run(){ LaunchParameter launchParameter = scheduledTask.getLaunchParameter(); try {