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

Make uplink logic ignore messages that are deemed older than the last message to be received #2803

Merged
merged 4 commits into from Mar 17, 2023

Conversation

BrynCooke
Copy link
Contributor

Messages that are received from uplink are filtered if they are deemed to be older than the last message recieved.
This should prevent flapping of routers especially when APOLLO_UPLINK_ENDPOINTS is in use.

The tests had to be refactored as we needed to be able to test ordering ID and this wasn't possible with entitlements.

Part of #2794

Checklist

Complete the checklist (and note appropriate exceptions) before a final PR is raised.

  • Changes are compatible[^1]
  • Documentation[^2] completed
  • Performance impact assessed and acceptable
  • Tests added and passing[^3]
    • Unit Tests
    • Integration Tests
    • Manual Tests

Exceptions

Note any exceptions here

Notes

[^1]. It may be appropriate to bring upcoming changes to the attention of other (impacted) groups. Please endeavour to do this before seeking PR approval. The mechanism for doing this will vary considerably, so use your judgement as to how and when to do this.
[^2]. Configuration is an important part of many changes. Where applicable please try to document configuration examples.
[^3]. Tick whichever testing boxes are applicable. If you are adding Manual Tests:
- please document the manual testing (extensively) in the Exceptions.
- please raise a separate issue to automate the test and label it (or ask for it to be labeled) as manual test

… message to be received.

The tests had to be refactored as we needed to be able to test ordering ID and this wasn't possible with entitlements.

Fixes #2794
@github-actions

This comment has been minimized.

@BrynCooke BrynCooke linked an issue Mar 17, 2023 that may be closed by this pull request
bryn added 2 commits March 17, 2023 15:45
@BrynCooke BrynCooke merged commit 287ee96 into dev Mar 17, 2023
11 checks passed
@BrynCooke BrynCooke deleted the bryn/uplink-forward-only branch March 17, 2023 16:05
@abernix abernix mentioned this pull request Mar 23, 2023
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.

Uplink consistency logic needs improving
2 participants