Enable log redaction by default in TiFlash Server and Proxy
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 15/100
Línea de trabajo
Read the coordinated implementation PRs, TiFlash #11158 and tidb-engine-ext #460, and inspect the Server and Learner/Proxy security defaults, configuration samples, and client-c mode propagation they change. The issue reports successful focused tests and cluster validation; the full integration CI retry stopped at an external Rust mirror timeout. Done means both defaults and samples agree, explicit modes are preserved, client-c receives the correct mode, and relevant tests pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Enhancement
Enable log redaction by default in both TiFlash Server and TiFlash Learner/Proxy, so deployments that omit the redaction options do not print supported user-data values by default.
Current defaults:
- Server:
security.redact_info_log = false. - Learner/Proxy:
security.redact-info-log = false.
Expected behavior:
- Default both configuration options to
true, including missing security sections and missing options. - Preserve explicit
false/"off"and"marker"configurations. - Keep configuration samples consistent with the defaults.
- Correct mode propagation to client-c, which currently falls through to marker mode.
Implementation:
- TiFlash Server: https://github.com/pingcap/tiflash/pull/11158
- TiFlash Proxy: https://github.com/pingcap/tidb-engine-ext/pull/460
Validation results (2026-10-27):
- Build actual native ARM64 TiFlash (41ce1aca2e) and Proxy (4246ca1) from the two PRs.
- Start a complete local cluster: 1 PD + 1 TiKV + 1 TiDB + 1 modified TiFlash/Proxy.
- Omit both redaction options in active configs; confirm runtime Proxy configuration reports
redact-info-log: true. - TiFlash replica becomes available (availability/progress 1); forced query returns the expected row with an
mpp[tiflash]plan. - Actual Server runtime probes: default hides the key, explicit false preserves the raw key, marker wraps it.
- Actual corrected
region_merge_common_handle.test: passed in 43.046 seconds. - Local Proxy configuration tests: 10 passed; local Security unit tests: 2 passed.
- Actual local native C++ GoogleTests: 10 passed, 0 failed (3 RedactLogTest + 7 TiFlashSecurityTest).
- Shut down all task-owned test clusters/mock servers cleanly and retain built binaries and logs.
The latest full integration CI retry stopped before tests because the external Rust mirror rsproxy.cn returned HTTP 504. The focused local tests and modified-component cluster startup/query validation above completed successfully.
The two PRs are coordinated changes; the Proxy code is maintained in the separate tidb-engine-ext repository.
- Lenguaje dominante
- C++
- Estrellas
- 1k
- Forks
- 428
- Merge medio
- 2 d 7 h
- PR fusionados (30 d)
- 100
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pingcap/tiflash
-
component/compute type/bug
Dificultad 2/5 1-2 días Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Out-of-bounds read in MyDateTime formatting from unvalidated packed valuesPosiblemente ocupada @ChangRui-Ryan la tomó hoy. Abiertoaffects-25.10 affects-26.3 affects-26.9 affects-7.5 affects-8.1 affects-8.5 severity/major type/bug
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
Los mantenedores suelen responder en 1 día
-
component/storage severity/moderate type/bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
pingcap/tiflash#11335 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
Missing validation in JSON constructors, LEFT expressions, and CH-block decodingPosiblemente ocupada @windtalker la tomó hoy. Abiertotype/bug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
[disagg] Query fails with Code: 11000 NoSuchKey when S3 GC (ScanThenDelete) removes a DMFile that a compute node still readsPosiblemente ocupada @JinheLin la tomó hace 6 días. Abiertomay-affects-25.10 may-affects-26.3 may-affects-26.9 may-affects-7.5 may-affects-8.1 may-affects-8.5 severity/moderate type/bug
pingcap/tiflash#11291 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de pingcap/tiflash
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
useless statementAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
grizzlypeak3d/DJV#962 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día