tipocket
tipocket copied to clipboard
add a compaction filter long term case
Signed-off-by: qupeng [email protected]
What problem does this PR solve?
Add a long term case for GC in Compaction Filter.
What is changed and how does it work?
The case has such features:
- Has both long records and short records, which covers different code path for GC in compaction filter.
- 3 SQLs are contianed in its workload: update/delete/insert.
- 4 actions on TiKV side:
MVCC_PUT(record),MVCC_PUT(index),MVCC_DELETE(record),MVCC_DELETE(index). - A simple transaction consistency checker during running, like bank2, but no transaction log tracing.
TODO list
- [ ] Support to automatic run it on tipocket.
Check List
Tests
- No code
Code changes
- Has Go code change
Does this PR introduce a user-facing change?:
NONE
- [ ] Support to automatic run it on tipocket.
This test case couldn't run on tipocket now since the dependencies are lack in the docker image, I plan to let each test case owns a Dockerfile so that dependencies and manifests(Lua, Sysbench, etc) can be contained on the split images.
Until then, this issue is resolved.