Skip to content

Check NDEATH for matching bdseq - ignore otherwise #502 #524

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

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

icraggs-sparkplug
Copy link
Contributor

Fixing issue #502 - match NDEATH bdseq with NBIRTH..

I'm not entirely sure about this one - does the change leave us open to other errors such as the edge node issuing NDEATHS with wrong bdSeqs, in the case of the DONT_EXPECT_DEATHS state?

@wes-johnson
Copy link
Contributor

I think it's ok to not worry about Edge Nodes sending invalid NDEATHs in this case. If they do this incorrectly, I would think they would also do it incorrectly in a valid OFFLINE state message with a current timestamp. So, I think we'd catch their flaw anyway.

@wes-johnson wes-johnson merged commit 4ab8986 into eclipse-sparkplug:3.x Apr 25, 2024
3 checks passed
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.

2 participants