polardb / polardb/polardbx-sql
[ASoC]PolarDB-X Operator 混沌测试实践
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 337
- PR merge metrics
- No merged PRs in 30d
Description
题目描述:
对于分布式数据库,稳定性和容错是最基本的要求之一。但是面对复杂多变的运行环境,我们无法预测集群下一秒会发生什么,如何在这样的环境下保证用户数据的安全是个无法避免的问题,而混沌测试正是为了解决这一问题而生。
Chaos Mesh 是一个通用的混沌测试解决方案,为 Kubernetes 提供了全方位的故障注入方法,涵盖了 Pod、网络、文件系统甚至内核的故障。PolarDB-X Operator 是 Kubernetes 上的PolarDB-X 集群运维系统,支持生命周期管理、备份恢复、监控等能力。
任务目标:
本任务希望基于 PolarDB-X Operator 和 Chaos Mesh,构建面向分布式数据库PolarDB-X的混沌测试框架,通过主动注入故障的方式,一方面有助于发现潜在的问题并快速修复,另一方面也能验证 PolarDB-X 的稳定性与容错能力。
项目技术要求:
熟悉Golang、Chaos Mesh,了解断网、弱网等常见系统故障
题目难度
高
导师信息
Wu Di,@vettalwu,ASoC Mentor, PolarDB-X Committer.
vettal.wd@alibaba-inc.com(联系导师请附上个人简历)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by mapping the PolarDB-X Operator and Chaos Mesh integration, then define the failure scenarios to cover, such as network loss and degraded networks. Done means a chaos-testing framework can inject faults and verify PolarDB-X data safety, stability, and fault tolerance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- databases, devops, distributed-systems, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100