Skip to content

MINOR: Log the ZK dual-write time#14792

Closed
mumrah wants to merge 1 commit into
apache:trunkfrom
mumrah:minor-log-zk-dual-write-time
Closed

MINOR: Log the ZK dual-write time#14792
mumrah wants to merge 1 commit into
apache:trunkfrom
mumrah:minor-log-zk-dual-write-time

Conversation

@mumrah

@mumrah mumrah commented Nov 17, 2023

Copy link
Copy Markdown
Member

We already capture the ZK dual write timings as metrics. This patch includes those timings in the existing log messages.

@mimaison

mimaison commented Feb 2, 2024

Copy link
Copy Markdown
Member

@mumrah @cmccabe Can we merge this now? Thanks

@chia7712 chia7712 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

log.trace("Did not make any ZK writes when handling KRaft {}", isSnapshot ? "snapshot" : "delta");
} else {
log.debug("Made the following ZK writes when handling KRaft {}: {}", isSnapshot ? "snapshot" : "delta", dualWriteCounts);
log.debug("Made the following ZK writes in {} ms when handling KRaft {}: {}",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@github-actions

Copy link
Copy Markdown

This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please ask a committer for review. If the PR has merge conflicts, please update it with the latest from trunk (or appropriate release branch)

If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.

@github-actions github-actions Bot added the stale Stale PRs label Jun 26, 2024
@mimaison

Copy link
Copy Markdown
Member

We deleted the migration code in #17293, closing.

@mimaison mimaison closed this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Stale PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants