Skip to content

Fix network stat sort use uint64#11

Merged
leborchuk merged 2 commits intomainfrom
fix-network-stat-sort-use-uint64
Mar 30, 2026
Merged

Fix network stat sort use uint64#11
leborchuk merged 2 commits intomainfrom
fix-network-stat-sort-use-uint64

Conversation

@NJrslv
Copy link
Copy Markdown
Contributor

@NJrslv NJrslv commented Mar 30, 2026

The Less() comparator for session sorting read only the uint32
NetworkStat fields (TotalBytes, TupleBytes, Chunks), ignoring the
uint64 variants (*Long) that hold the promoted values. Take the
max of both to handle senders providing either field width.

NJrslv added 2 commits March 27, 2026 16:22
The Less() comparator for session sorting read only the uint32
NetworkStat fields (TotalBytes, TupleBytes, Chunks), ignoring the
uint64 variants (*Long) that hold the promoted values. Take the
max of both to handle senders providing either field width.
Copy link
Copy Markdown
Contributor

@leborchuk leborchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@leborchuk leborchuk merged commit 7783ffc into main Mar 30, 2026
1 check passed
@NJrslv NJrslv deleted the fix-network-stat-sort-use-uint64 branch March 30, 2026 08:55
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