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

Only log rollback if heights are actually deleted #17803

Merged
merged 1 commit into from Mar 30, 2024

Conversation

Rigidity
Copy link
Contributor

Purpose:

This reduces some log spam from the height-to-hash and sub-epoch-summaries cache.

Current Behavior:

Every block height is logged, since it seems the roll back code path is called even if there aren't any heights to roll back.

New Behavior:

If no blocks were deleted, the log message is skipped.

@Rigidity Rigidity added the Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog label Mar 30, 2024
@Rigidity Rigidity requested a review from arvidn March 30, 2024 02:22
@Rigidity Rigidity requested a review from a team as a code owner March 30, 2024 02:22
Copy link
Contributor

@arvidn arvidn left a comment

Choose a reason for hiding this comment

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

I think this should target the release branch. it will be check-pointed back into main

@Rigidity Rigidity changed the base branch from main to release/2.3.0 March 30, 2024 11:50
@pmaslana pmaslana merged commit 1ff7e09 into release/2.3.0 Mar 30, 2024
310 checks passed
@pmaslana pmaslana deleted the reduce-rollback-logs branch March 30, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants