-
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
util/log: logic that breaks long lines also breaks redaction markers #64896
Comments
@bdarnell says yes:
|
There are two avenues to address this:
Pro/con analysis
@bdarnell suggests to use solution 2, and also simultaneously construct a different fix for #50166 and the We can call this "solution 3": Solution 2 + more unrelated work. Pro/con analysis:
|
with this analysis, it seems like we should split the work as follows:
|
Agreed
Ideally this would be grapheme clusters instead of runes, but this would require a new third-party dependency (golang/go#14820). Runes are fine for now. |
Found while inspecting
cockroach demo --vmodule=exec_log=2
:This may qualify for a GA blocker too? Unsure
This is a deep 🤦 moment, and I wish I had listened to Andrei earlier...
The text was updated successfully, but these errors were encountered: