[STORM-3874] Nimbus status/metrics don't expose criical blobstore sync status information

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
java

调研方向

从 /api/v1/nimbus/summary 暴露的 Nimbus 状态开始,追踪 blobstore 同步和 leader eligibility 是如何表示的。确定建议的 "Syncing" 或 "Ineligible" 状态应如何与现有的 "Not a Leader"、"Leader" 和 "Dead" 值关联,然后在 rolling replacement 期间验证暴露的状态或指标。完成的标准是,操作员能够区分仍在同步的节点和已准备好成为 leader 的节点。

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

描述

bug imported-jira-issue

As an operator, I'd like to know when a nimbus node is eligible for Leader so that I may check that status during instance replacement/health status.

When performing a rolling deployment, it's not possible to distinguish when a new node is "fully ready" and able to take on leadership. New nodes will refuse to becoem leaders until they have synced their blobstore. This can brick the cluster if instances are replaced before any new node has fully synced from the current leader.

There is a gap from when a nimbus node joins to when it's eligible to become a leader. To the best of my ability this status gap is not exposed, there are only three status values "Not a Leader", "Leader", and "Dead". Nor is there anything in the REST API (or any other metrics) that I can find that could hint at the sync status (say bytes in blob-cache per nimbus, sync "index" or mtime).

Example
1. Given a stable 3 node nimbus cluster.
2. Deploy some topologies of non-trivial size.
3. Replace nimbuses in a rolling fashion. (wait for new node to show "Not a Leader" status in /api/v1/nimbus/summary)
4. Cluster dies. New nimbuses will refuse to become a leader.

I propose a new status, "Syncing" or "Ineligible". Nimbuses in this status are not yet ready to become leaders and a healthy instance will transition to "Not a Leader" shortly. A new instance should not be considered ready until it has transitioned to the "Not a Leader" status.


Originally reported by dekimsey, imported from: Nimbus status/metrics don't expose criical blobstore sync status information
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-24
主要语言
Java
星标
6.7k
派生
4k
平均合并
1 天 5 小时
30 天内合并 PR
86

环境准备

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

从这里开始

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

apache/storm 的其他 Issue

查看 apache/storm 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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