Bound Solr's Jetty request.log retention

Abierto
#288 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
kubernetes

Línea de trabajo

Read the Solr chart configuration in translator-devops and find the request log retention setting, solr.log.requestlog.retaindays. The issue describes the knob and the reason to consider changing it, but leaves the desired change open: determine whether to lower retention to one day or disable request logging, then confirm the resulting Solr pod configuration.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Size: XS

Solr's log files live in /var/solr/logs, which is not on the Solr PVC (only /var/solr/data is mounted), so they consume pod ephemeral storage.

Most of it is bounded by size:

File Cap
solr.log 32 MB x 10
solr_slow_requests.log 32 MB x 10
solr_gc.log 20 MB x 9 (now routed to stdout instead)

The exception is Jetty's NCSA YYYY_MM_DD.request.log, which is bounded by time, not size — solr.log.requestlog.retaindays defaults to 3 — so it grows with query volume.

The name-lookup chart in translator-devops now sets ephemeral-storage requests/limits for the Solr pod (2Gi/8Gi), sized generously precisely because an ephemeral-storage limit evicts the pod when exceeded. If request logs ever grow enough to pinch, set -Dsolr.log.requestlog.retaindays=1 (or disable the request log) rather than trimming the limit.

Low priority — this is a "know the knob exists" issue, not a current problem.

Lenguaje dominante
Python
Estrellas
5
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NCATSTranslator/NameResolution

Todos los issues de NCATSTranslator/NameResolution

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.