8000 improve handling when procdump detects the process is dead by dothebart · Pull Request #9381 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

improve handling when procdump detects the process is dead #9381

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

Merged
merged 5 commits into from
Jul 4, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update process-utils.js
  • Loading branch information
KVS85 authored Jul 2, 2019
commit ec1df8219f5131720395ec48c12e7416fcd650ec
2 changes: 1 addition & 1 deletion js/client/modules/@arangodb/process-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ function shutdownInstance (instanceInfo, options, forceTerminate) {
arangod.exitStatus = statusExternal(arangod.pid, false);
if (!crashUtils.checkMonitorAlive(ARANGOD_BIN, arangod, options, arangod.exitStatus)) {
if (arangod.role !== 'agent') {
nonAgenciesCount --;
nonAgenciesCount--;
}
print(Date() + ' Server "' + arangod.role + '" shutdown: detected irregular death by monitor: pid', arangod.pid);
return false;
Expand Down
0