Skip to content

cdc: use int64 for emitted bytes telemetry#98575

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
jayshrivastava:overflow
Mar 14, 2023
Merged

cdc: use int64 for emitted bytes telemetry#98575
craig[bot] merged 1 commit intocockroachdb:masterfrom
jayshrivastava:overflow

Conversation

@jayshrivastava
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Contributor Author

bors r=miretskiy

@craig
Copy link
Copy Markdown
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