facebook / facebook/rocksdb

Proposal: expose SyncPoint API

Open
#6,087 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

RocksDB unit tests and stress test use the `SyncPoint` utility heavily to inject delay, failure or custom logic to simulate specific execution sequence. However the facility is only available to rocksdb tests and only available in debug build. If we can expose `SyncPoint` as public API (under /utilities directory), application specific integration test framework can inject delay or error to rocksdb internal to test complex interaction between application behavior and rocksdb behavior. The API can be enabled by a compile flag and it can be enabled under release build.

We would like to work on it but want to know rocksdb team's thoughts beforehand. Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.