Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 736 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 736 Bytes

CharybdeFS

A fuse based fault injection filesystem with a Thrift RPC interface for instrumentation.

Building

yum install gcc-c++ cmake cmake thrift libfuse-devel python-thrift thrift-devel
thrift -r --gen cpp server.thrift
cmake CMakeLists.txt
make

Using

modprobe fuse
mkdir /root/scylla
sudo ./charybdefs /var/lib/scylla/ -omodules=subdir,subdir=/root/scylla

Example tests

tests/scylla_test_all_calls.py is an example test running against the ScyllaDB database. It will insert data in the database, trigger some errors for a while, clear it and let the database recover. After this it will boot up scylla again and check that all commited queries are safe on disk.