GreptimeTeam/greptimedb

Remove sensitive information from store_addrs in logs

Open

#7,525 opened on Jan 6, 2026

View on GitHub
 (0 comments) (0 reactions) (1 assignee)Rust (495 forks)github user discovery
C-enhancementgood first issuehelp wanted

Repository metrics

Stars
 (6,332 stars)
PR merge metrics
 (PR metrics pending)

Description

What type of enhancement is this?

User experience

What does the enhancement do?

The command line arguments store_addrs may contain sensitive information.

One of the cmd struct: https://github.com/GreptimeTeam/greptimedb/blob/6f86a22e6fc22e0271b62679d6454b859a116519/src/cmd/src/metasrv.rs#L151-L152

We should not log them.

Implementation challenges

Should we distinguish different backends and only escape the sensitive connection string for PostgreSQL/MySQL?

Contributor guide