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

fix: parse the process name to get the process type instead of using port count #407

Conversation

ChanYiLin
Copy link
Contributor

ref: longhorn/longhorn#7393

Get the process type by parsing the name instead of using port count.

@ChanYiLin
Copy link
Contributor Author

@ChanYiLin
Copy link
Contributor Author

E2E test PASSED

Copy link
Member

@innobead innobead left a comment

Choose a reason for hiding this comment

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

In genreal, LGTM. Just a few feedback.

pkg/instance/instance.go Outdated Show resolved Hide resolved
pkg/process/process.go Outdated Show resolved Hide resolved
@ChanYiLin ChanYiLin force-pushed the LH7393_build_robust_method_to_differentiate_engine_process branch 2 times, most recently from 84feb41 to f640a16 Compare March 25, 2024 07:03
@innobead
Copy link
Member

innobead commented Apr 9, 2024

Please fix the conflict and then we can move forward.

@ChanYiLin ChanYiLin force-pushed the LH7393_build_robust_method_to_differentiate_engine_process branch from f640a16 to 087721b Compare April 11, 2024 08:06
@ChanYiLin
Copy link
Contributor Author

Hi @innobead
Fixed the conflicts, thanks

pkg/instance/instance.go Outdated Show resolved Hide resolved
@ChanYiLin ChanYiLin force-pushed the LH7393_build_robust_method_to_differentiate_engine_process branch from 087721b to ac28ac5 Compare April 11, 2024 08:19
pkg/instance/instance.go Outdated Show resolved Hide resolved
…port count

ref: longhorn/longhorn 7393

Signed-off-by: Jack Lin <jack.lin@suse.com>
@ChanYiLin ChanYiLin force-pushed the LH7393_build_robust_method_to_differentiate_engine_process branch from ac28ac5 to 7b6052a Compare April 11, 2024 14:19
@ChanYiLin
Copy link
Contributor Author

HI @innobead @derekbit
All fixed. Thanks

Copy link
Member

@derekbit derekbit left a comment

Choose a reason for hiding this comment

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

LGTM

@derekbit derekbit dismissed innobead’s stale review April 12, 2024 07:52

Dismiss for merging the PR.

@derekbit derekbit merged commit 1e9dd7e into longhorn:master Apr 12, 2024
6 checks passed
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.

3 participants