rust-rocksdb
rust-rocksdb copied to clipboard
Use rocksdb SyncPoint to support fail-rs
To allow integration test frameworks to control rocksdb internals, we can make use of rocksdb SyncPoint to support rust fail-point https://github.com/tikv/fail-rs There are some difference between SyncPoint and fail-point. Some of the items to work on:
- [ ] Make fail-point support dependencies (one fail-point wait for another before proceed)
- [ ] Make
SyncPointsupport early return - [ ] Add rocksdb compile flag to enable
SyncPointin release build - [ ] Expose
SyncPointAPI on rocksdb side, then wrap it as fail-point API on rust-rocksdb side
cc @Connor1996
Very useful!
I would like to take this task, and choose the exposing syncpoint's API part
https://github.com/facebook/rocksdb/issues/6087
Sorry, there's another task that invite me to do, so I may have to quit