-
Notifications
You must be signed in to change notification settings - Fork 979
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track SCP latencies in milliseconds for overlay survey
Fixes #4333 by recording SCP latencies in milliseconds rather than nanoseconds, which could overflow when placed in a `uint32_t`. I also checked the other survey data fields for potential overflow and didn't find anything else that could overflow. However, in doing so I noticed that I failed to bump `TIME_SLICED_SURVEY_MIN_OVERLAY_PROTOCOL_VERSION` to `34` when I bumped the overlay protocol version, so I fixed that as well.
- Loading branch information
Showing
6 changed files
with
43 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24f4745
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.
saw approval from graydon
at bboston7@24f4745
24f4745
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.
merging bboston7/stellar-core/scp-stats-ms = 24f4745 into auto
24f4745
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.
bboston7/stellar-core/scp-stats-ms = 24f4745 merged ok, testing candidate = 0f189aa
24f4745
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.
all tests pass:
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25674455611
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673192910
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673192689
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673192519
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673192353
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673192201
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673192086
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673191921
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673191768
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673191620
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673191472
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673191355
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673191204
success: https://github.com/stellar/stellar-core/actions/runs/9325722367/job/25673190982
24f4745
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.
fast-forwarding master to auto = 0f189aa