Skip to content

Commit

Permalink
rename logstore.h and logstore.cpp to blsm.h and blsm.cpp
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@3775 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
  • Loading branch information
sears committed Feb 22, 2012
1 parent 165a17c commit f164d9e
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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)
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 )

ADD_LIBRARY(logstore_client tcpclient.cpp)
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -8,15 +8,15 @@ INC = -I ../stasis \
-I ./sherpa

LIBSRC = $(wildcard *.c) $(wildcard *.cpp)
LIBNAME = logstore
LIBNAME = blsm

ifeq ($(shell uname),Linux)
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
else
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
endif

Expand Down
2 changes: 1 addition & 1 deletion logstore.cpp → blsm.cpp
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*
*/
#include "logstore.h"
#include "blsm.h"
#include "merger.h"

#include <stasis/transactional.h>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion datapage.cpp
Expand Up @@ -17,7 +17,7 @@
*
* Author: makdere
*/
#include "logstore.h"
#include "blsm.h"
#include "datapage.h"
#include "regionAllocator.h"

Expand Down
2 changes: 1 addition & 1 deletion logserver.cpp
Expand Up @@ -22,7 +22,7 @@
#include "datatuple.h"
#include "merger.h"

#include "logstore.h"
#include "blsm.h"
#include "requestDispatch.h"

#include <sys/types.h>
Expand Down
2 changes: 1 addition & 1 deletion logserver.h
Expand Up @@ -27,7 +27,7 @@
#include <stasis/transactional.h>
#include <pthread.h>

#include "logstore.h"
#include "blsm.h"

#define STATS_ENABLED 1

Expand Down
2 changes: 1 addition & 1 deletion main/newserver.cpp
Expand Up @@ -25,7 +25,7 @@


#include "merger.h"
#include "logstore.h"
#include "blsm.h"
#include "simpleServer.h"

int main(int argc, char *argv[])
Expand Down
2 changes: 1 addition & 1 deletion main/server.cpp
Expand Up @@ -21,7 +21,7 @@
#include <vector>
#include <iostream>
#include <sstream>
#include "logstore.h"
#include "blsm.h"
#include "logserver.h"
#include "datapage.h"
#include "merger.h"
Expand Down
2 changes: 1 addition & 1 deletion mergeManager.cpp
Expand Up @@ -21,7 +21,7 @@

#include "mergeManager.h"
#include "mergeStats.h"
#include "logstore.h"
#include "blsm.h"
#include "math.h"
#include "time.h"
#include <stasis/transactional.h>
Expand Down
2 changes: 1 addition & 1 deletion mergeStats.cpp
Expand Up @@ -20,7 +20,7 @@
*/

#include "mergeStats.h"
#include "logstore.h"
#include "blsm.h"
#include "datatuple.h"


2 changes: 1 addition & 1 deletion merger.h
Expand Up @@ -19,7 +19,7 @@
#ifndef _MERGER_H_
#define _MERGER_H_

#include "logstore.h"
#include "blsm.h"

#include <stasis/common.h>

Expand Down
2 changes: 1 addition & 1 deletion requestDispatch.h
Expand Up @@ -9,7 +9,7 @@
#define REQUESTDISPATCH_H_
#include "network.h"
#include "datatuple.h"
#include "logstore.h"
#include "blsm.h"
template<class HANDLE>
class requestDispatch {
private:
Expand Down
2 changes: 1 addition & 1 deletion sherpa/LSMServerHandler.cc
Expand Up @@ -23,7 +23,7 @@
#include <iostream>
#include <signal.h>
#include "merger.h"
#include "logstore.h"
#include "blsm.h"
#include "LSMServerHandler.h"

int blind_update = 0; // updates check preimage by default.
Expand Down
2 changes: 1 addition & 1 deletion sherpa/main/lsm_server.cc
Expand Up @@ -7,7 +7,7 @@
#include <transport/TBufferTransports.h>
#include <concurrency/ThreadManager.h>
#include <concurrency/PosixThreadFactory.h>
#include "logstore.h"
#include "blsm.h"
#include "datatuple.h"
#include "LSMServerHandler.h"

Expand Down
2 changes: 1 addition & 1 deletion simpleServer.h
Expand Up @@ -21,7 +21,7 @@

#ifndef SIMPLESERVER_H_
#define SIMPLESERVER_H_
#include "logstore.h"
#include "blsm.h"

class simpleServer {
public:
Expand Down
2 changes: 1 addition & 1 deletion test/check_datapage.cpp
Expand Up @@ -22,7 +22,7 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include <logstore.h>
#include <blsm.h>
#include <datapage.h>

#include <assert.h>
Expand Down
2 changes: 1 addition & 1 deletion test/check_gen.cpp
Expand Up @@ -18,7 +18,7 @@
* Author: sears
*/
#include <stasis/transactional.h>
#include "logstore.h"
#include "blsm.h"
#include "regionAllocator.h"

int main(int argc, char **argv)
Expand Down
2 changes: 1 addition & 1 deletion test/check_logtable.cpp
Expand Up @@ -22,7 +22,7 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include "logstore.h"
#include "blsm.h"
#include "datapage.h"
#include <assert.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion test/check_logtree.cpp
Expand Up @@ -22,7 +22,7 @@
#include <iostream>
#include <algorithm>
#include <sstream>
#include "logstore.h"
#include "blsm.h"
#include "regionAllocator.h"
#include "diskTreeComponent.h"

Expand Down
2 changes: 1 addition & 1 deletion test/check_merge.cpp
Expand Up @@ -22,7 +22,7 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include "logstore.h"
#include "blsm.h"
#include "datapage.h"
#include "merger.h"
#include <assert.h>
Expand Down
2 changes: 1 addition & 1 deletion test/check_mergelarge.cpp
Expand Up @@ -22,7 +22,7 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include "logstore.h"
#include "blsm.h"
#include "datapage.h"
#include "merger.h"
#include <assert.h>
Expand Down
2 changes: 1 addition & 1 deletion test/check_mergetuple.cpp
Expand Up @@ -22,7 +22,7 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include "logstore.h"
#include "blsm.h"
#include "datapage.h"
#include "merger.h"
#include <assert.h>
Expand Down
2 changes: 1 addition & 1 deletion test/check_rbtree.cpp
Expand Up @@ -22,7 +22,7 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include "logstore.h"
#include "blsm.h"
#include "datapage.h"
#include "merger.h"
#include <assert.h>
Expand Down
2 changes: 1 addition & 1 deletion tuplemerger.cpp
Expand Up @@ -17,7 +17,7 @@
*
*/
#include "tuplemerger.h"
#include "logstore.h"
#include "blsm.h"

// t2 is the newer tuple.
// we return deletes here. our caller decides what to do with them.
Expand Down

0 comments on commit f164d9e

Please sign in to comment.