Helix-rest supports automatically detect the stoppable selection base during stoppable calls.

未关闭
#2,968 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
java

调研方向

该 issue 未指定任何文件、测试或入口点。首先定位服务器对可停止调用的处理逻辑以及集群拓扑配置,然后追踪当前如何提供选择基准。完成的标准是:没有拓扑时服务器选择 non_topo_based,存在拓扑时选择 cross_zone_based,并覆盖这两种情况。

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

描述

Is your feature request related to a problem? Please describe.
Currently, when performing a stoppable check, users are required to specify the selection base (zone_based, cross_zone_based, or non_topo_based). This adds an unnecessary burden on users and increases the potential for errors. A more efficient approach would be for the server to automatically determine the appropriate selection base by reading the cluster configuration.

Describe the solution you'd like
The server should automatically configure the selection base based on the cluster's topology. By default, if the cluster has no defined topology, the server should use non_topo_based. If a topology is present, the server should default to cross_zone_based. This would simplify the user experience and minimize configuration errors.
Here’s a revised version of your message for improved clarity and professionalism:

Additional context
Add any other context or screenshots about the feature request here.

主要语言
Java
星标
505
派生
258
平均合并
4 天 20 小时
30 天内合并 PR
3

环境准备

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

从这里开始

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

apache/helix 的其他 Issue

查看 apache/helix 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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