Bound Solr's Jetty request.log retention

未关闭
#288 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
kubernetes

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Python
星标
5
派生
4
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NCATSTranslator/NameResolution 的其他 Issue

查看 NCATSTranslator/NameResolution 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。