cannonicalize filenames (so they match the classes they define)
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@3786 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
9b1df5b1af
commit
b52dbe0636
30 changed files with 48 additions and 48 deletions
|
@ -80,5 +80,5 @@ 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(blsm blsm.cpp diskTreeComponent.cpp memTreeComponent.cpp datapage.cpp merger.cpp tuplemerger.cpp mergeStats.cpp mergeManager.cpp bloomFilter.c)
|
ADD_LIBRARY(blsm bLSM.cpp diskTreeComponent.cpp memTreeComponent.cpp dataPage.cpp mergeScheduler.cpp tupleMerger.cpp mergeStats.cpp mergeManager.cpp bloomFilter.c)
|
||||||
ENDIF ( HAVE_STASIS )
|
ENDIF ( HAVE_STASIS )
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "merger.h"
|
#include "mergeScheduler.h"
|
||||||
|
|
||||||
#include <stasis/transactional.h>
|
#include <stasis/transactional.h>
|
||||||
#include <stasis/bufferManager.h>
|
#include <stasis/bufferManager.h>
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
#include "diskTreeComponent.h"
|
#include "diskTreeComponent.h"
|
||||||
#include "memTreeComponent.h"
|
#include "memTreeComponent.h"
|
||||||
#include "tuplemerger.h"
|
#include "tupleMerger.h"
|
||||||
#include "mergeManager.h"
|
#include "mergeManager.h"
|
||||||
#include "mergeStats.h"
|
#include "mergeStats.h"
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
*
|
*
|
||||||
* Author: makdere
|
* Author: makdere
|
||||||
*/
|
*/
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "datapage.h"
|
#include "dataPage.h"
|
||||||
#include "regionAllocator.h"
|
#include "regionAllocator.h"
|
||||||
|
|
||||||
#include <stasis/page.h>
|
#include <stasis/page.h>
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include <stasis/page.h>
|
#include <stasis/page.h>
|
||||||
#include <stasis/constants.h>
|
#include <stasis/constants.h>
|
||||||
#include "datatuple.h"
|
#include "dataTuple.h"
|
||||||
#include "regionAllocator.h"
|
#include "regionAllocator.h"
|
||||||
|
|
||||||
//#define CHECK_FOR_SCRIBBLING
|
//#define CHECK_FOR_SCRIBBLING
|
|
@ -24,7 +24,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include "merger.h"
|
#include "mergeScheduler.h"
|
||||||
#include "diskTreeComponent.h"
|
#include "diskTreeComponent.h"
|
||||||
#include "regionAllocator.h"
|
#include "regionAllocator.h"
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
#ifndef DISKTREECOMPONENT_H_
|
#ifndef DISKTREECOMPONENT_H_
|
||||||
#define DISKTREECOMPONENT_H_
|
#define DISKTREECOMPONENT_H_
|
||||||
|
|
||||||
#include "datapage.h"
|
#include "dataPage.h"
|
||||||
#include "datatuple.h"
|
#include "dataTuple.h"
|
||||||
#include "mergeStats.h"
|
#include "mergeStats.h"
|
||||||
#include "bloomFilter.h"
|
#include "bloomFilter.h"
|
||||||
#include <stasis/util/crc32.h>
|
#include <stasis/util/crc32.h>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include "memTreeComponent.h"
|
#include "memTreeComponent.h"
|
||||||
#include "datatuple.h"
|
#include "dataTuple.h"
|
||||||
|
|
||||||
void memTreeComponent::tearDownTree(rbtree_ptr_t tree) {
|
void memTreeComponent::tearDownTree(rbtree_ptr_t tree) {
|
||||||
dataTuple * t = 0;
|
dataTuple * t = 0;
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "mergeManager.h"
|
#include "mergeManager.h"
|
||||||
#include "mergeStats.h"
|
#include "mergeStats.h"
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
#include "time.h"
|
#include "time.h"
|
||||||
#include <stasis/transactional.h>
|
#include <stasis/transactional.h>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include <stasis/common.h>
|
#include <stasis/common.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <datatuple.h>
|
#include <dataTuple.h>
|
||||||
|
|
||||||
class bLSM;
|
class bLSM;
|
||||||
class mergeStats;
|
class mergeStats;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "merger.h"
|
#include "mergeScheduler.h"
|
||||||
|
|
||||||
#include <stasis/transactional.h>
|
#include <stasis/transactional.h>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef _MERGER_H_
|
#ifndef _MERGER_H_
|
||||||
#define _MERGER_H_
|
#define _MERGER_H_
|
||||||
|
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
|
|
||||||
#include <stasis/common.h>
|
#include <stasis/common.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mergeStats.h"
|
#include "mergeStats.h"
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "datatuple.h"
|
#include "dataTuple.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "datatuple.h"
|
#include "dataTuple.h"
|
||||||
#include "datapage.h"
|
#include "dataPage.h"
|
||||||
|
|
||||||
#include <mergeManager.h> // XXX for double_to_ts, etc... create a util class.
|
#include <mergeManager.h> // XXX for double_to_ts, etc... create a util class.
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ all: main/blsm_client main/blsm_server
|
||||||
|
|
||||||
main/blsm_client :
|
main/blsm_client :
|
||||||
|
|
||||||
main/blsm_server : blsmRequestHandler.cpp
|
main/blsm_server : bLSMRequestHandler.cpp
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f main/blsm_client main/blsm_server
|
rm -f main/blsm_client main/blsm_server
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include "merger.h"
|
#include "mergeScheduler.h"
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "blsmRequestHandler.h"
|
#include "bLSMRequestHandler.h"
|
||||||
|
|
||||||
int blind_update = 0; // updates check preimage by default.
|
int blind_update = 0; // updates check preimage by default.
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
#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 "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "datatuple.h"
|
#include "dataTuple.h"
|
||||||
#include "blsmRequestHandler.h"
|
#include "bLSMRequestHandler.h"
|
||||||
|
|
||||||
using namespace ::apache::thrift;
|
using namespace ::apache::thrift;
|
||||||
using namespace ::apache::thrift::protocol;
|
using namespace ::apache::thrift::protocol;
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <blsm.h>
|
#include <bLSM.h>
|
||||||
#include <datapage.h>
|
#include <dataPage.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* Author: sears
|
* Author: sears
|
||||||
*/
|
*/
|
||||||
#include <stasis/transactional.h>
|
#include <stasis/transactional.h>
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "regionAllocator.h"
|
#include "regionAllocator.h"
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "datapage.h"
|
#include "dataPage.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "regionAllocator.h"
|
#include "regionAllocator.h"
|
||||||
#include "diskTreeComponent.h"
|
#include "diskTreeComponent.h"
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "datapage.h"
|
#include "dataPage.h"
|
||||||
#include "merger.h"
|
#include "mergeScheduler.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "datapage.h"
|
#include "dataPage.h"
|
||||||
#include "merger.h"
|
#include "mergeScheduler.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "datapage.h"
|
#include "dataPage.h"
|
||||||
#include "merger.h"
|
#include "mergeScheduler.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "blsm.h"
|
#include "bLSM.h"
|
||||||
#include "datapage.h"
|
#include "dataPage.h"
|
||||||
#include "merger.h"
|
#include "mergeScheduler.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "datapage.h"
|
#include "dataPage.h"
|
||||||
#include "merger.h"
|
#include "mergeScheduler.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include "tuplemerger.h"
|
#include "tupleMerger.h"
|
||||||
#include "blsm.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