-
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 retry attempts to refresh #1583
Add retry attempts to refresh #1583
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1583 +/- ##
=======================================
Coverage ? 67.30%
=======================================
Files ? 261
Lines ? 12380
Branches ? 0
=======================================
Hits ? 8332
Misses ? 3525
Partials ? 523 ☔ View full report in Codecov by Sentry. |
aeebd2b
to
65af2e6
Compare
7730c4e
to
40ba527
Compare
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
40ba527
to
5198c91
Compare
) | ||
|
||
// ClientBackward checks the connection on the way back | ||
type ClientBackward struct { |
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.
Instead of creating a new chain element, I'd suggest updating the count chain element to support the backward counters
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.
Fixed
@edwarnicke I think we need to go with this patch; it solves most of the scenarios that I described here: #1565. and this patch allows us to quickly schedule a check for networkservicemesh/cmd-forwarder-vpp#664. |
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.
Added one comment related to testing, other things look good.
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1583 Commit: b1a3e26 Author: Artem Glazychev Date: 2024-02-12 17:51:49 +0700 Message: - Add retry attempts to refresh (#1583) * Add retry attempts to refresh Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> * count chain element review comment Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Description
This PR adds a refresh retry functionality.
If the refresh fails, it is attempted again after a few ms (200 ms by default)
Issue link
#1565
How Has This Been Tested?
Types of changes