Skip to content

Comments

Reject stale application messages#3438

Merged
stefanwire merged 4 commits intomlsfrom
pcapriotti/mls-stale-app-messages
Aug 17, 2023
Merged

Reject stale application messages#3438
stefanwire merged 4 commits intomlsfrom
pcapriotti/mls-stale-app-messages

Conversation

@pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Jul 17, 2023

An application message is considered stale if its epoch is 2 or more epochs behind the current epoch. This PR makes it so that stale application messages are rejected. Note that proposal message are still stale as soon as their epoch is older than the current one.

https://wearezeta.atlassian.net/browse/WPB-505

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jul 17, 2023
@pcapriotti pcapriotti marked this pull request as ready for review July 17, 2023 07:59
@rohan-wire rohan-wire changed the title Reject stale application messages Reject stale application messages [WPB-505] Jul 31, 2023
@pcapriotti pcapriotti force-pushed the pcapriotti/mls-stale-app-messages branch from 0d395bb to dc4e769 Compare August 1, 2023 08:06
@pcapriotti pcapriotti changed the title Reject stale application messages [WPB-505] Reject stale application messages Aug 1, 2023
@pcapriotti pcapriotti requested a review from smatting August 1, 2023 13:47
@stefanwire stefanwire merged commit 5e2abc9 into mls Aug 17, 2023
@stefanwire stefanwire deleted the pcapriotti/mls-stale-app-messages branch August 17, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants