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

PS,SD: Use revocations from SegReply to invalidate NextQuery #3058

Merged

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented Aug 28, 2019

In the PS and SD we invalidate the NextQuery for all segments that have received a revocation. But currently we only do this for explicit revocations that come in as Revocation message, we should also do it for revocations that we receive in a SegReply from another PS.
This commit also invalidates NextQuery cache for revocations received in the SegReply.

Fixes #3057

This change is Reviewable

@lukedirtwalker lukedirtwalker force-pushed the pubFixRevocationHandling branch from a33117a to 5696438 Compare August 28, 2019 11:20
@lukedirtwalker lukedirtwalker changed the title wip Revocation testcase fix PS,SD: Use revocations from SegReply to invalidate NextQuery Aug 28, 2019
@lukedirtwalker lukedirtwalker requested a review from oncilla August 28, 2019 13:19
@lukedirtwalker lukedirtwalker marked this pull request as ready for review August 28, 2019 13:19
Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker force-pushed the pubFixRevocationHandling branch from 5ef6c77 to b4ce079 Compare August 29, 2019 10:32
@lukedirtwalker lukedirtwalker merged commit 40c4563 into scionproto:master Aug 29, 2019
@lukedirtwalker lukedirtwalker deleted the pubFixRevocationHandling branch August 29, 2019 10:49
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.

PS,SD: Revocations from PS reply should also trigger cache invalidation
2 participants