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

kvserver: repro branch for restore2tb snapshots #63784

Closed
wants to merge 14 commits into from

Conversation

tbg
Copy link
Member

@tbg tbg commented Apr 16, 2021

  • status quo attempt
  • cli: walk directories in debug merge-logs
  • cli: default program-filter for merge-logs to match everything
  • fatal on MsgApp-induced split

tbg added 4 commits April 16, 2021 10:01
This is a UX improvement. Instead of typing out

`./cockroach debug merge-logs nodes/*/logs/*.log`

(as one does for each `debug.zip` or roachtest investigation),
you can now simply use

`./cockroach debug merge-logs .`.

Release note: None
The program filter is what matches the
`<program>.<host>.<morestuff>.log` in the log files handed to
`merge-logs`. The default is generally a reasonable choice but when you
have an oddly named binary (does happen) merge-logs completely stops
doing anything and time is wasted figuring out why. `merge-logs` is
already very unlikely to pick up stray files since its default
`file-pattern` matches the entire logging file format (it delegates only
matching of `<program>` to the program-filter), so turning the program
filter off by default seems right.

Release note: None
And extra logging for timings.

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

This should make it easier to search to where things first started
slowing down.

Release note: None
@tbg
Copy link
Member Author

tbg commented Apr 22, 2021

#64060

@tbg tbg closed this Apr 22, 2021
@tbg tbg deleted the repro-restore2tb branch April 22, 2021 13:12
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