rename logstore.h and logstore.cpp to blsm.h and blsm.cpp
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@3775 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
165a17c39b
commit
f164d9eeb6
25 changed files with 26 additions and 26 deletions
|
@ -80,7 +80,7 @@ ENDIF ( "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" )
|
||||||
|
|
||||||
#CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
#CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||||
IF ( HAVE_STASIS )
|
IF ( HAVE_STASIS )
|
||||||
ADD_LIBRARY(logstore requestDispatch.cpp simpleServer.cpp logserver.cpp logstore.cpp diskTreeComponent.cpp memTreeComponent.cpp datapage.cpp merger.cpp tuplemerger.cpp mergeStats.cpp mergeManager.cpp bloomFilter.c)
|
ADD_LIBRARY(logstore requestDispatch.cpp simpleServer.cpp logserver.cpp blsm.cpp diskTreeComponent.cpp memTreeComponent.cpp datapage.cpp merger.cpp tuplemerger.cpp mergeStats.cpp mergeManager.cpp bloomFilter.c)
|
||||||
ENDIF ( HAVE_STASIS )
|
ENDIF ( HAVE_STASIS )
|
||||||
|
|
||||||
ADD_LIBRARY(logstore_client tcpclient.cpp)
|
ADD_LIBRARY(logstore_client tcpclient.cpp)
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -8,15 +8,15 @@ INC = -I ../stasis \
|
||||||
-I ./sherpa
|
-I ./sherpa
|
||||||
|
|
||||||
LIBSRC = $(wildcard *.c) $(wildcard *.cpp)
|
LIBSRC = $(wildcard *.c) $(wildcard *.cpp)
|
||||||
LIBNAME = logstore
|
LIBNAME = blsm
|
||||||
|
|
||||||
ifeq ($(shell uname),Linux)
|
ifeq ($(shell uname),Linux)
|
||||||
STATIC_LIBS= ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
STATIC_LIBS= ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
||||||
-lrt sherpa/LSMServerHandler.cc bin/liblogstore.a \
|
-lrt sherpa/LSMServerHandler.cc bin/libblsm.a \
|
||||||
../stasis/bin/libstasis.a
|
../stasis/bin/libstasis.a
|
||||||
else
|
else
|
||||||
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
||||||
sherpa/LSMServerHandler.cc bin/liblogstore.a \
|
sherpa/LSMServerHandler.cc bin/libblsm.a \
|
||||||
../stasis/bin/libstasis.a
|
../stasis/bin/libstasis.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
|
|
||||||
#include <stasis/transactional.h>
|
#include <stasis/transactional.h>
|
|
@ -17,7 +17,7 @@
|
||||||
*
|
*
|
||||||
* Author: makdere
|
* Author: makdere
|
||||||
*/
|
*/
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "datapage.h"
|
#include "datapage.h"
|
||||||
#include "regionAllocator.h"
|
#include "regionAllocator.h"
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include "datatuple.h"
|
#include "datatuple.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
|
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "requestDispatch.h"
|
#include "requestDispatch.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include <stasis/transactional.h>
|
#include <stasis/transactional.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
|
|
||||||
#define STATS_ENABLED 1
|
#define STATS_ENABLED 1
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "simpleServer.h"
|
#include "simpleServer.h"
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "logserver.h"
|
#include "logserver.h"
|
||||||
#include "datapage.h"
|
#include "datapage.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "mergeManager.h"
|
#include "mergeManager.h"
|
||||||
#include "mergeStats.h"
|
#include "mergeStats.h"
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
#include "time.h"
|
#include "time.h"
|
||||||
#include <stasis/transactional.h>
|
#include <stasis/transactional.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mergeStats.h"
|
#include "mergeStats.h"
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "datatuple.h"
|
#include "datatuple.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
2
merger.h
2
merger.h
|
@ -19,7 +19,7 @@
|
||||||
#ifndef _MERGER_H_
|
#ifndef _MERGER_H_
|
||||||
#define _MERGER_H_
|
#define _MERGER_H_
|
||||||
|
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
|
|
||||||
#include <stasis/common.h>
|
#include <stasis/common.h>
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#define REQUESTDISPATCH_H_
|
#define REQUESTDISPATCH_H_
|
||||||
#include "network.h"
|
#include "network.h"
|
||||||
#include "datatuple.h"
|
#include "datatuple.h"
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
template<class HANDLE>
|
template<class HANDLE>
|
||||||
class requestDispatch {
|
class requestDispatch {
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "LSMServerHandler.h"
|
#include "LSMServerHandler.h"
|
||||||
|
|
||||||
int blind_update = 0; // updates check preimage by default.
|
int blind_update = 0; // updates check preimage by default.
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include <transport/TBufferTransports.h>
|
#include <transport/TBufferTransports.h>
|
||||||
#include <concurrency/ThreadManager.h>
|
#include <concurrency/ThreadManager.h>
|
||||||
#include <concurrency/PosixThreadFactory.h>
|
#include <concurrency/PosixThreadFactory.h>
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "datatuple.h"
|
#include "datatuple.h"
|
||||||
#include "LSMServerHandler.h"
|
#include "LSMServerHandler.h"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#ifndef SIMPLESERVER_H_
|
#ifndef SIMPLESERVER_H_
|
||||||
#define SIMPLESERVER_H_
|
#define SIMPLESERVER_H_
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
|
|
||||||
class simpleServer {
|
class simpleServer {
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <logstore.h>
|
#include <blsm.h>
|
||||||
#include <datapage.h>
|
#include <datapage.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* Author: sears
|
* Author: sears
|
||||||
*/
|
*/
|
||||||
#include <stasis/transactional.h>
|
#include <stasis/transactional.h>
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "regionAllocator.h"
|
#include "regionAllocator.h"
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "datapage.h"
|
#include "datapage.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "regionAllocator.h"
|
#include "regionAllocator.h"
|
||||||
#include "diskTreeComponent.h"
|
#include "diskTreeComponent.h"
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "datapage.h"
|
#include "datapage.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "datapage.h"
|
#include "datapage.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "datapage.h"
|
#include "datapage.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
#include "datapage.h"
|
#include "datapage.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include "tuplemerger.h"
|
#include "tuplemerger.h"
|
||||||
#include "logstore.h"
|
#include "blsm.h"
|
||||||
|
|
||||||
// t2 is the newer tuple.
|
// t2 is the newer tuple.
|
||||||
// we return deletes here. our caller decides what to do with them.
|
// we return deletes here. our caller decides what to do with them.
|
||||||
|
|
Loading…
Reference in a new issue