GreptimeTeam/greptimedb

Remove sensitive information from store_addrs in logs

Open

#7,525 opened on 2026年1月6日

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)

説明

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?

コントリビューターガイド