-
Notifications
You must be signed in to change notification settings - Fork 36
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
call livenessCheck periodically #1271
call livenessCheck periodically #1271
Conversation
Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
331cdc7
to
a46d33f
Compare
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename dataPlane to LivenessCheck and resolve comment with attemptAfter.
Other things are looking good
@@ -32,18 +32,21 @@ import ( | |||
"github.com/networkservicemesh/sdk/pkg/tools/log" | |||
) | |||
|
|||
const attemptAfter = time.Millisecond * 200 | |||
const ( | |||
attemptAfter = time.Millisecond * 200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
attemptAfter is not actually using as we realised with @glazychev-art
Please remove this and all dependent code.
) | ||
|
||
// LivenessChecker - function that returns true of conn is 'live' and false otherwise | ||
type LivenessChecker func(deadlineCtx context.Context, conn *networkservice.Connection) bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename LivenessChecker to LivenessCheck in all places
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NikitaSkrynnik Looks good! Thanks
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1271 Commit: 5e4251a Author: Nikita Skrynnik Date: 2022-05-04 20:40:43 +0700 Message: - call livenessCheck periodically (#1271) * call livenessCheck periodically Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix datapath ping interval Signed-off-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Update tests and misc fixes Signed-off-by: Albert Safin <albert.safin@xored.com> Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * Use backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * change func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * get rid of backoff Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * add parameters for livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rework eventloop for new func signature Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix linter issues Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * fix tests Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * apply comments + cleanup Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * delete attempt after Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename dataPlaneCtx to livenessCheckCtx Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> * rename livenessChecker to livenessCheck Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com> Co-authored-by: Nikolay Chunosov <n.chunosov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Description
Check data-plane aliveness periodically, not only after a control-plane event happens
Continuation of PR #1259
Issue link
#1187
How Has This Been Tested?
Types of changes