rocksdb/thrift
Dhruba Borthakur 80c663882a Create leveldb server via Thrift.
Summary:
First draft.
Unit tests pass.

Test Plan: unit tests attached

Reviewers: heyongqiang

Reviewed By: heyongqiang

Differential Revision: https://reviews.facebook.net/D3969
2012-07-07 09:42:39 -07:00
..
folly Create leveldb server via Thrift. 2012-07-07 09:42:39 -07:00
gen-cpp Create leveldb server via Thrift. 2012-07-07 09:42:39 -07:00
lib/cpp Create leveldb server via Thrift. 2012-07-07 09:42:39 -07:00
test Create leveldb server via Thrift. 2012-07-07 09:42:39 -07:00
leveldb.thrift Create leveldb server via Thrift. 2012-07-07 09:42:39 -07:00
openhandles.h Create leveldb server via Thrift. 2012-07-07 09:42:39 -07:00
README Create leveldb server via Thrift. 2012-07-07 09:42:39 -07:00
server_utils.cpp Create leveldb server via Thrift. 2012-07-07 09:42:39 -07:00
server.cpp Create leveldb server via Thrift. 2012-07-07 09:42:39 -07:00

This directory has the thrift server code that exposes leveldb apis.

The thrift header files are in ./thrift/lib. These are part of 
Apache Thrift code base and are needed for compilation of the leveldb
thrift server. The thrift libraries are copied into ./thrift/libs.
If you want to use a different version of thrift, please update these
directories with the corresponding thrift header files and the
compiled thrift libraries.

If you want to compile leveldb with thrift-server support, please set the following
enviroment variables appropriately:
   USE_THRIFT=1
   LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./thrift/libs
   make clean leveldb_server leveldb_server_test

You can run the leveldb server unit tests by
  ./leveldb_server_test