-
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
Add healing feature #1113
Add healing feature #1113
Conversation
3d72a00
to
9c2180e
Compare
2415e07
to
1a7a430
Compare
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
69652b3
to
47f40c6
Compare
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.
Look good, only one moment related to heal client.
Could you explain why we can not use heal client in sandbox tests?
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
47f40c6
to
16a15e5
Compare
We can use it. The point was to keep heal tests separate. PR was updated |
@edwarnicke with 16a15e5 we do not need to change grpcfd. Is 16a15e5 look good for you? |
LGTM I'm going to hold off on merging till integration-k8s-kind is passing from the P2MP work. |
…k@main PR link: networkservicemesh/sdk#1113 Commit: 0f652be Author: Artem Glazychev Date: 2021-11-11 19:50:13 +0700 Message: - Add healing feature (#1113) * Add begin.WithReselect option Signed-off-by: Ed Warnicke <hagbard@gmail.com> * begin: Merge new outside Requests with heal/refresh information Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Add trimpath chain elements Signed-off-by: Ed Warnicke <hagbard@gmail.com> * [qfix] panic protection in dialer chain element Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Very very rough first pass at heal. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Not quite working restoration of the nsmgr heal tests TestNSMGR_HealForwarder is still failing. It is probably failing because the interpose chain element does not reselect Forwarders if one does not become available. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * heal: fix TestNSMGR_HealForwarder and remove grpc.WaitTillReady() and grpc.WithBlock() from sandbox.DialOptions() Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Fixes failing tests Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * Add healClient option Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1113 Commit: 0f652be Author: Artem Glazychev Date: 2021-11-11 19:50:13 +0700 Message: - Add healing feature (#1113) * Add begin.WithReselect option Signed-off-by: Ed Warnicke <hagbard@gmail.com> * begin: Merge new outside Requests with heal/refresh information Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Add trimpath chain elements Signed-off-by: Ed Warnicke <hagbard@gmail.com> * [qfix] panic protection in dialer chain element Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Very very rough first pass at heal. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Not quite working restoration of the nsmgr heal tests TestNSMGR_HealForwarder is still failing. It is probably failing because the interpose chain element does not reselect Forwarders if one does not become available. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * heal: fix TestNSMGR_HealForwarder and remove grpc.WaitTillReady() and grpc.WithBlock() from sandbox.DialOptions() Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Fixes failing tests Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * Add healClient option Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1113 Commit: 0f652be Author: Artem Glazychev Date: 2021-11-11 19:50:13 +0700 Message: - Add healing feature (#1113) * Add begin.WithReselect option Signed-off-by: Ed Warnicke <hagbard@gmail.com> * begin: Merge new outside Requests with heal/refresh information Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Add trimpath chain elements Signed-off-by: Ed Warnicke <hagbard@gmail.com> * [qfix] panic protection in dialer chain element Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Very very rough first pass at heal. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Not quite working restoration of the nsmgr heal tests TestNSMGR_HealForwarder is still failing. It is probably failing because the interpose chain element does not reselect Forwarders if one does not become available. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * heal: fix TestNSMGR_HealForwarder and remove grpc.WaitTillReady() and grpc.WithBlock() from sandbox.DialOptions() Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Fixes failing tests Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * Add healClient option Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1113 Commit: 0f652be Author: Artem Glazychev Date: 2021-11-11 19:50:13 +0700 Message: - Add healing feature (#1113) * Add begin.WithReselect option Signed-off-by: Ed Warnicke <hagbard@gmail.com> * begin: Merge new outside Requests with heal/refresh information Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Add trimpath chain elements Signed-off-by: Ed Warnicke <hagbard@gmail.com> * [qfix] panic protection in dialer chain element Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Very very rough first pass at heal. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Not quite working restoration of the nsmgr heal tests TestNSMGR_HealForwarder is still failing. It is probably failing because the interpose chain element does not reselect Forwarders if one does not become available. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * heal: fix TestNSMGR_HealForwarder and remove grpc.WaitTillReady() and grpc.WithBlock() from sandbox.DialOptions() Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Fixes failing tests Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * Add healClient option Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1113 Commit: 0f652be Author: Artem Glazychev Date: 2021-11-11 19:50:13 +0700 Message: - Add healing feature (#1113) * Add begin.WithReselect option Signed-off-by: Ed Warnicke <hagbard@gmail.com> * begin: Merge new outside Requests with heal/refresh information Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Add trimpath chain elements Signed-off-by: Ed Warnicke <hagbard@gmail.com> * [qfix] panic protection in dialer chain element Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Very very rough first pass at heal. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Not quite working restoration of the nsmgr heal tests TestNSMGR_HealForwarder is still failing. It is probably failing because the interpose chain element does not reselect Forwarders if one does not become available. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * heal: fix TestNSMGR_HealForwarder and remove grpc.WaitTillReady() and grpc.WithBlock() from sandbox.DialOptions() Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Fixes failing tests Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * Add healClient option Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1113 Commit: 0f652be Author: Artem Glazychev Date: 2021-11-11 19:50:13 +0700 Message: - Add healing feature (#1113) * Add begin.WithReselect option Signed-off-by: Ed Warnicke <hagbard@gmail.com> * begin: Merge new outside Requests with heal/refresh information Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Add trimpath chain elements Signed-off-by: Ed Warnicke <hagbard@gmail.com> * [qfix] panic protection in dialer chain element Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Very very rough first pass at heal. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Not quite working restoration of the nsmgr heal tests TestNSMGR_HealForwarder is still failing. It is probably failing because the interpose chain element does not reselect Forwarders if one does not become available. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * heal: fix TestNSMGR_HealForwarder and remove grpc.WaitTillReady() and grpc.WithBlock() from sandbox.DialOptions() Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Fixes failing tests Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * Add healClient option Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1113 Commit: 0f652be Author: Artem Glazychev Date: 2021-11-11 19:50:13 +0700 Message: - Add healing feature (#1113) * Add begin.WithReselect option Signed-off-by: Ed Warnicke <hagbard@gmail.com> * begin: Merge new outside Requests with heal/refresh information Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Add trimpath chain elements Signed-off-by: Ed Warnicke <hagbard@gmail.com> * [qfix] panic protection in dialer chain element Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Very very rough first pass at heal. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Not quite working restoration of the nsmgr heal tests TestNSMGR_HealForwarder is still failing. It is probably failing because the interpose chain element does not reselect Forwarders if one does not become available. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * heal: fix TestNSMGR_HealForwarder and remove grpc.WaitTillReady() and grpc.WithBlock() from sandbox.DialOptions() Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Fixes failing tests Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * Add healClient option Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1113 Commit: 0f652be Author: Artem Glazychev Date: 2021-11-11 19:50:13 +0700 Message: - Add healing feature (#1113) * Add begin.WithReselect option Signed-off-by: Ed Warnicke <hagbard@gmail.com> * begin: Merge new outside Requests with heal/refresh information Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Add trimpath chain elements Signed-off-by: Ed Warnicke <hagbard@gmail.com> * [qfix] panic protection in dialer chain element Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Very very rough first pass at heal. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Not quite working restoration of the nsmgr heal tests TestNSMGR_HealForwarder is still failing. It is probably failing because the interpose chain element does not reselect Forwarders if one does not become available. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * heal: fix TestNSMGR_HealForwarder and remove grpc.WaitTillReady() and grpc.WithBlock() from sandbox.DialOptions() Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Fixes failing tests Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * Add healClient option Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1113 Commit: 0f652be Author: Artem Glazychev Date: 2021-11-11 19:50:13 +0700 Message: - Add healing feature (#1113) * Add begin.WithReselect option Signed-off-by: Ed Warnicke <hagbard@gmail.com> * begin: Merge new outside Requests with heal/refresh information Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Add trimpath chain elements Signed-off-by: Ed Warnicke <hagbard@gmail.com> * [qfix] panic protection in dialer chain element Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Very very rough first pass at heal. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Not quite working restoration of the nsmgr heal tests TestNSMGR_HealForwarder is still failing. It is probably failing because the interpose chain element does not reselect Forwarders if one does not become available. Signed-off-by: Ed Warnicke <hagbard@gmail.com> * heal: fix TestNSMGR_HealForwarder and remove grpc.WaitTillReady() and grpc.WithBlock() from sandbox.DialOptions() Signed-off-by: Ed Warnicke <hagbard@gmail.com> * Fixes failing tests Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * Add healClient option Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Description
This PR adds new healing feature
Continuation of #1107