-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
fix: deduplicate notifier log #5545
Conversation
Performance Report✔️ no performance regression detected Full benchmark results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I have not seen any duplicate logs when running this branch for a while, it might just be a coincidence, although unlikely as those logs were not that rare.
Command to check for duplicate logs
grep 'slot:' <filename>.log | awk -F'slot: ' '{print $2}' | awk '{print $1}' | sort | uniq -d
🎉 This PR is included in v1.9.0 🎉 |
Motivation
Duplicate Synced log per slot, almost at the same time
Description
timeToNextHalfSlot
function, it checks which middle slot of current or next clock slot is closer and wait until that time. It happens that it does not pass middle of the current clock slot, therunNodeNotifier
runs so fast and it still does not pass middle of the current clock slot so it runs againCloses #5532