Skip to content
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

cdc: use int64 for emitted bytes telemetry #98575

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

jayshrivastava
Copy link
Contributor

Previously, the stored emitted_bytes field was an int32, which can hold a maximum value of 2.1GB. This value is too small because the logging period is 24h and changefeeds can emit much more than 2.1GB in 24h. This change updates the field to be an int64, which solves this problem.

Epic: None
Release note: None

Previously, the stored `emitted_bytes` field was an int32, which can hold a maximum
value of 2.1GB. This value is too small because the logging period is 24h and changefeeds
can emit much more than 2.1GB in 24h. This change updates the field to be an int64, which
solves this problem.

Epic: None
Release note: None
@blathers-crl
Copy link

blathers-crl bot commented Mar 14, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jayshrivastava jayshrivastava marked this pull request as ready for review March 14, 2023 15:00
@jayshrivastava jayshrivastava requested a review from a team March 14, 2023 15:00
@jayshrivastava jayshrivastava requested a review from a team as a code owner March 14, 2023 15:00
@jayshrivastava jayshrivastava requested review from shermanCRL and removed request for a team March 14, 2023 15:00
@jayshrivastava
Copy link
Contributor Author

bors r=miretskiy

@craig
Copy link
Contributor

craig bot commented Mar 14, 2023

Build succeeded:

@craig craig bot merged commit 3b326c3 into cockroachdb:master Mar 14, 2023
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.

3 participants