diff --git a/CHANGELOG.md b/CHANGELOG.md index ee44bd83c..0a4e97b9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ - `nflow-engine` - Retry workflow state processing until all steps in nFlow-side are executed successfully. This will prevent workflow instances from being locked in `executing` status, if e.g. database connection fails after locking the instance and before querying the full workflow instance information (`WorkflowStateProcessor`). - Fix #306: create empty ArrayList with default initial size - + - Log more executor details on startup + ## 5.5.0 (2019-04-04) **Highlights** diff --git a/nflow-engine/src/main/java/io/nflow/engine/internal/dao/ExecutorDao.java b/nflow-engine/src/main/java/io/nflow/engine/internal/dao/ExecutorDao.java index cfd4d9f26..153f6a1c9 100644 --- a/nflow-engine/src/main/java/io/nflow/engine/internal/dao/ExecutorDao.java +++ b/nflow-engine/src/main/java/io/nflow/engine/internal/dao/ExecutorDao.java @@ -146,7 +146,10 @@ public PreparedStatement createPreparedStatement(Connection con) throws SQLExcep return p; } }, keyHolder); - return keyHolder.getKey().intValue(); + int executorId = keyHolder.getKey().intValue(); + logger.info("Joined executor group {} as executor {} running on host {} with process id {}.", + executorGroup, executorId, host, pid); + return executorId; } public void updateActiveTimestamp() {