-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
cli: merge-logs: change the auto-detection logic to ensure the format is auto-detected separately for each file #73374
Comments
I think this is related to #66684 |
This issue appears to also cause problems w/ the logs HTTP endpoint which likely requires deserialization of the JSON logs. |
The file I provided doesn't use JSON encoding though? There might be more than one problem, or there's a connection I am not seeing. |
Looks like this panic is being improperly encoded for some reason – |
We just discussed the issue with Cameron.
|
So the action item here is to change the auto-detection logic to ensure the format is auto-detected separately for each file. then verify that the auto-detection determines |
We have marked this issue as stale because it has been inactive for |
Describe the problem
cockroach debug merge-logs
trips up overcockroach-stderr.log
files when they contain a stack trace (or something like that).To Reproduce
Download this file:
cockroach-stderr.teamcity-3824348-1638343289-69-n7cpu16-geo-0001.ubuntu.2021-12-01T12_33_16Z.014678.log
It also reproduces using this reduced file (which simply truncates lines 9 and above). Even removing the
panic
line entirely (replacing it by a blank line) causes the issue. Only when line 8 is removed entirely does the problem go away.The problem does not occur with
--format=crdb-v1
.Environment:
master
(log was created using same SHA)cc @cameronnunez as the resident merge-logs expert.
gz#10792
Jira issue: CRDB-11562
The text was updated successfully, but these errors were encountered: