airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimuthu...@apache.org
Subject [airavata] branch staging updated: Fixing the bug in returning broken registry client objects into the pool
Date Wed, 30 Jan 2019 17:58:46 GMT
This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/staging by this push:
     new 88d45a8  Fixing the bug in returning broken registry client objects into the pool
88d45a8 is described below

commit 88d45a8b839910fb45c29d7beef4bd034e586e68
Author: Dimuthu Wannipurage <dimuthu.upeksha2@gmail.com>
AuthorDate: Wed Jan 30 12:58:34 2019 -0500

    Fixing the bug in returning broken registry client objects into the pool
---
 .../org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
index d8bba53..afff17d 100644
--- a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
+++ b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
@@ -179,7 +179,7 @@ public class PostWorkflowManager extends WorkflowManager {
             }
         } catch (Exception e) {
             logger.error("Failed to process job : " + jobStatusResult.getJobId() + ", with
status : " + jobStatusResult.getState().name(), e);
-            getRegistryClientPool().returnResource(registryClient);
+            getRegistryClientPool().returnBrokenResource(registryClient);
             return false;
         }
     }


Mime
View raw message