Skip to content

record, tool: log chunk details #4533

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EdwardX29
Copy link
Contributor

Extend WAL read ahead to include visual logging for log chunks. Create a tool that allows reading of chunks in high detail. Add a WAL buffer dump in situations where read ahead encounters problems.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@EdwardX29
Copy link
Contributor Author

In service of #4525

@EdwardX29 EdwardX29 requested a review from jbowens April 11, 2025 17:36
@EdwardX29 EdwardX29 force-pushed the edwardx29/tool-log-chunk-details branch 2 times, most recently from c50d36d to 1991fb0 Compare April 11, 2025 17:43
Extend WAL read ahead to include visual logging for log chunks. Create
a tool that allows reading of chunks in high detail. Add a WAL buffer dump
in situations where read ahead encounters problems.
@EdwardX29 EdwardX29 force-pushed the edwardx29/tool-log-chunk-details branch from 1991fb0 to f29561f Compare April 11, 2025 17:47
@EdwardX29 EdwardX29 marked this pull request as ready for review April 11, 2025 17:51
@EdwardX29 EdwardX29 requested a review from a team as a code owner April 11, 2025 17:51
Copy link
Collaborator

@sumeerbhola sumeerbhola left a comment

Choose a reason for hiding this comment

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

(drive-by) is there a sample output from this visual logging and tool on good and corrupt WAL files?

Reviewable status: 0 of 4 files reviewed, all discussions resolved (waiting on @jbowens)

@EdwardX29
Copy link
Contributor Author

(drive-by) is there a sample output from this visual logging and tool on good and corrupt WAL files?

Reviewable status: 0 of 4 files reviewed, all discussions resolved (waiting on @jbowens)

good:
image

corrupt:
image

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