arana-db / arana-db/kiwi-cpp

test raft cluster by python

Open
#23 2 comments 0 reactions 1 assignee Claimed by @luky116 View on GitHub
✏️ Feature
Dominant language
C++
Stars
49
Forks
8
PR merge metrics
No merged PRs in 30d

Description

### Which kiwi functionalities are relevant/related to the feature request?

_No response_

### Description

### Which PikiwiDB functionalities are relevant/related to the feature request?

raft

### Description

基于规则的方式,编写raft cluster测试case。比如
- set 一些 key,然后做了raft log compact、add node、kill leader,最后 get key验证数据是否正确
- 多节点运行,将其中一个节点ctrl + z,然后写大量数据,然后取消ctrl + z,验证数据是否正确
- 批量 add 很多 node,然后 set/get key 看看结果是否符合预期

### Proposed solution

详细可见:https://github.com/OpenAtomFoundation/pikiwidb/discussions/273#discussioncomment-9142169

### Alternatives considered

使用go、shell也都可以。主要是实现类似的测试case

### Proposed solution

_No response_

### Alternatives considered

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.