Skip to content

romankulikov/charybdefs

 
 

Repository files navigation

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.

About

ScyllaDB fault injection filesystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 43.3%
  • Python 30.8%
  • CMake 14.2%
  • C 9.1%
  • Thrift 2.4%
  • Shell 0.2%