[Bug] pd make the RaftEngine constructor private
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- java
调研方向
查找 RaftEngine 类,并检查其构造函数和现有的 singleton 访问点。按要求将构造函数设为 private,然后运行相关的 Java 测试或 build 检查,以确认当前调用方仍能正常工作,并且不再存在 public 构造。
由索引模型根据 Issue 内容生成。
描述
Bug Type (问题类型)
logic (逻辑设计问题)
Before submit
- 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
Server Version: 1.5
Expected & Actual behavior (期望与实际表现)
The RaftEngine is intended to be a global singleton, but the constructor is not private.
public RaftEngine() {
this.stateMachine = new RaftStateMachine();
}
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
- 主要语言
- Java
- 星标
- 3.2k
- 派生
- 642
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 105
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/hugegraph 的其他 Issue
-
[Bug] PD task REST: balanceLeaders throws a bare HTTP 500 during the balance-shard window, and task responses cannot be told apart from a no-op or a follower answer可能已有人在做 @pallavithegod 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
apache/hugegraph#3231 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Bug] Gremlin sandbox blocks HStore gRPC allocator configuration reads可能已有人在做 @contrueCT 于 1 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
[Bug] PD TTL cleanup deletes the marker-shaped name instead of the expired key, so expired values stay in the store until read可能已有人在做 @bitflicker64 于 7 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
geonetwork/core-geonetwork#9592 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
NationalSecurityAgency/ghidra#10040 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 63/100
维护者通常 1 天内回复
-
[Bug] ServerHttpRequest.getURI() throws NumberFormatException when Host contains an explicit port未关闭component/need-triage type/need-triage
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
apache/rocketmq-dashboard#7361 ·
维护者通常 3 天内回复