Skip to content

Improve LastRemovalEventId determinism by adding ordering#826

Merged
quantumagi merged 3 commits intostratisproject:release/1.2.0.0from
quantumagi:imprvrdeterminism
Dec 22, 2021
Merged

Improve LastRemovalEventId determinism by adding ordering#826
quantumagi merged 3 commits intostratisproject:release/1.2.0.0from
quantumagi:imprvrdeterminism

Conversation

@quantumagi
Copy link
Contributor

@quantumagi quantumagi commented Dec 21, 2021

This PR adds an OrderByDescending to the FirstOrDefault used to determine the last kick poll.

Also, two methods are added to unify two slightly different implementations of the same logic.

@quantumagi quantumagi requested a review from fassadlr December 22, 2021 06:57
@quantumagi quantumagi closed this Dec 22, 2021
@quantumagi quantumagi reopened this Dec 22, 2021
@quantumagi quantumagi merged commit 288c4a1 into stratisproject:release/1.2.0.0 Dec 22, 2021
fassadlr pushed a commit that referenced this pull request Jan 6, 2022
* Improve LastRemovalEventId determinism by adding ordering

* Cleanup

* Changes based on feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants