Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log executor info on startup. #308

Merged
merged 1 commit into from
May 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down