Skip to content

cli: support debug zip --anonymize #46031

@irfansharif

Description

@irfansharif

We should provide this switch so that diagnosing of issues is not hindered by manual scrubbing by the user -- which could be prone to mistakes as well.

Few examples:

  • The table/key names (XXXX) in log lines:
I200311 07:21:32.053215 826880069 storage/replica_command.go:797 [n8,replicate,s8,r16277/42:/Table/131{-/1/"XXXX…}] change replicas (REMOVE_REPLICA (n5,s5):37): read existing descriptor r16277:/Table/131{-/1/"XXXX^51b23f4c1607fe220acebc023621568f"} [(n4,s4):40, (n8,s8):42, (n5,s5):37, (n11,s11):43, next=44, gen=8]
  • The same as above in range reports, rangelog.json
  • User names used to log into the admin UI

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions