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

Removing the duplicate process check based on truncated name and relying on cmdline check #553

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

backslasht
Copy link
Contributor

Description

On linux, the process name is truncated to 15 characters and hence it matches both opensearch-benchmark and opensearch-benchmarkd. This results in killing the daemon process and breaks the distributed run setup. Removing the name based check on the truncated name and relying on command line which provides the full command.

Keeping the name based check on full name as is.

Testing

Tested in Linux system and verified daemon process is excluded in duplicate process check.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…ing on cmdline check

On linux, the process name is truncated to 15 characters and hence it matches both
opensearch-benchmark and opensearch-benchmarkd. This results in killing the daemon
process and breaks the distributed run setup. Removing the name based check on the
truncated name and relying on command line which provides the full command.

Keeping the name based check on full name as is.

Signed-off-by: Prabhakar Sithanandam <[email protected]>
Copy link
Collaborator

@gkamat gkamat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

@gkamat gkamat merged commit 0ec2856 into opensearch-project:main Jun 17, 2024
8 checks passed
@backslasht backslasht deleted the duplicate_osb_check branch June 17, 2024 16:17
finnroblin pushed a commit to finnroblin/opensearch-benchmark that referenced this pull request Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants