Skip to content

Conversation

SChakravorti21
Copy link
Contributor

We get unexpectedly large values in statreqs on database startup because lastlsn is not initialized and the "diff" ends up being the total number of log bytes ever written to the database. Initialize lastlsn so that LSN diffs are calculated correctly.

We get unexpectedly large values in statreqs on database startup because
`lastlsn` is not initialized and the "diff" ends up being the total number of
log bytes ever written to the database. Initialize `lastlsn` so that LSN diffs
are calculated correctly.

Signed-off-by: Shoumyo Chakravorti <[email protected]>
Copy link

@roborivers roborivers left a comment

Choose a reason for hiding this comment

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

Coding style check: Success ✓.
Smoke testing: Error ⚠.
Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
truncatesc_offline_generated
reco-ddlk-sql

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