-
Notifications
You must be signed in to change notification settings - Fork 422
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
db: Metrics.WAL.BytesWritten appears bogus #3505
Labels
Projects
Comments
jbowens
added a commit
to jbowens/pebble
that referenced
this issue
Apr 25, 2024
The Metrics.WAL.BytesWritten metric is intended to be a monotonically increasing counter of all bytes written to the write-ahead log. Previously, it was possible for this metric to violate monotonicity immediately after a WAL rotation. The d.logSize value—which corresponds to the size of the current WAL—was not reset to zero. It was only reset after the first write to the new WAL. Close cockroachdb#3505.
jbowens
added a commit
to jbowens/pebble
that referenced
this issue
Apr 29, 2024
The Metrics.WAL.BytesWritten metric is intended to be a monotonically increasing counter of all bytes written to the write-ahead log. Previously, it was possible for this metric to violate monotonicity immediately after a WAL rotation. The d.logSize value—which corresponds to the size of the current WAL—was not reset to zero. It was only reset after the first write to the new WAL. Close cockroachdb#3505.
jbowens
added a commit
that referenced
this issue
Apr 30, 2024
The Metrics.WAL.BytesWritten metric is intended to be a monotonically increasing counter of all bytes written to the write-ahead log. Previously, it was possible for this metric to violate monotonicity immediately after a WAL rotation. The d.logSize value—which corresponds to the size of the current WAL—was not reset to zero. It was only reset after the first write to the new WAL. Close #3505.
jbowens
added a commit
to jbowens/pebble
that referenced
this issue
Apr 30, 2024
The Metrics.WAL.BytesWritten metric is intended to be a monotonically increasing counter of all bytes written to the write-ahead log. Previously, it was possible for this metric to violate monotonicity immediately after a WAL rotation. The d.logSize value—which corresponds to the size of the current WAL—was not reset to zero. It was only reset after the first write to the new WAL. Close cockroachdb#3505.
jbowens
added a commit
to jbowens/pebble
that referenced
this issue
Apr 30, 2024
The Metrics.WAL.BytesWritten metric is intended to be a monotonically increasing counter of all bytes written to the write-ahead log. Previously, it was possible for this metric to violate monotonicity immediately after a WAL rotation. The d.logSize value—which corresponds to the size of the current WAL—was not reset to zero. It was only reset after the first write to the new WAL. Close cockroachdb#3505.
jbowens
added a commit
that referenced
this issue
Apr 30, 2024
The Metrics.WAL.BytesWritten metric is intended to be a monotonically increasing counter of all bytes written to the write-ahead log. Previously, it was possible for this metric to violate monotonicity immediately after a WAL rotation. The d.logSize value—which corresponds to the size of the current WAL—was not reset to zero. It was only reset after the first write to the new WAL. Close #3505.
jbowens
added a commit
to jbowens/pebble
that referenced
this issue
May 6, 2024
The Metrics.WAL.BytesWritten metric is intended to be a monotonically increasing counter of all bytes written to the write-ahead log. Previously, it was possible for this metric to violate monotonicity immediately after a WAL rotation. The d.logSize value—which corresponds to the size of the current WAL—was not reset to zero. It was only reset after the first write to the new WAL. Close cockroachdb#3505.
jbowens
added a commit
to jbowens/pebble
that referenced
this issue
May 9, 2024
The Metrics.WAL.BytesWritten metric is intended to be a monotonically increasing counter of all bytes written to the write-ahead log. Previously, it was possible for this metric to violate monotonicity immediately after a WAL rotation. The d.logSize value—which corresponds to the size of the current WAL—was not reset to zero. It was only reset after the first write to the new WAL. Close cockroachdb#3505.
jbowens
added a commit
that referenced
this issue
May 13, 2024
The Metrics.WAL.BytesWritten metric is intended to be a monotonically increasing counter of all bytes written to the write-ahead log. Previously, it was possible for this metric to violate monotonicity immediately after a WAL rotation. The d.logSize value—which corresponds to the size of the current WAL—was not reset to zero. It was only reset after the first write to the new WAL. Close #3505.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
This metric spikes orders of magnitude beyond WAL.BytesIn, even orders of magnitude beyond bytes flushed or compacted, and beyond the node-level bytes written.
Internal slack link: https://cockroachlabs.slack.com/archives/C06TG0C6VGS/p1712855654340209?thread_ts=1712673101.370579&cid=C06TG0C6VGS
The text was updated successfully, but these errors were encountered: