Skip to content

fix: use bigint instead of integer in stats migration #6380

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
Feb 28, 2023
Merged

Conversation

kylecarbs
Copy link
Member

This broke dogfood!

@kylecarbs kylecarbs requested a review from ammario February 28, 2023 19:52
@kylecarbs kylecarbs self-assigned this Feb 28, 2023
@kylecarbs kylecarbs merged commit 8850ce0 into main Feb 28, 2023
RxPackets: int32(req.RxPackets),
RxBytes: int32(req.RxBytes),
TxPackets: int32(req.TxPackets),
TxBytes: int32(req.TxBytes),
Copy link
Member

Choose a reason for hiding this comment

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

You don't want to lose this precision. One could easily exceed 4GB bytes transmitted.

@kylecarbs kylecarbs deleted the statmigrate branch February 28, 2023 19:55
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants