forked from OpenAtomFoundation/pikiwidb-raft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: transform kv and hash command using blackwidow without cache (O…
…penAtomFoundation#101) * migrate bw interface for hset hget hmset hmget hgetall hkeys hlen * fix: adjust the implementation of string cmd on blackwidow without cache --------- Co-authored-by: panlei-coder <[email protected]>
- Loading branch information
1 parent
9c531c3
commit eb77974
Showing
11 changed files
with
335 additions
and
608 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,5 @@ FetchContent_MakeAvailableWithArgs(rocksdb | |
WITH_ZLIB=OFF | ||
WITH_ZSTD=OFF | ||
WITH_GFLAGS=OFF | ||
USE_RTTI=ON | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
|
||
AUX_SOURCE_DIRECTORY(. PIKIWIDB_SRC) | ||
|
||
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/pstd) | ||
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/net) | ||
|
||
ADD_EXECUTABLE(pikiwidb ${PIKIWIDB_SRC}) | ||
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) | ||
|
||
TARGET_INCLUDE_DIRECTORIES(pikiwidb PRIVATE ${rocksdb_SOURCE_DIR}/include) | ||
TARGET_LINK_LIBRARIES(pikiwidb net; dl; leveldb; fmt; pikiwidb-folly; rocksdb) | ||
TARGET_INCLUDE_DIRECTORIES(pikiwidb PRIVATE | ||
${PROJECT_SOURCE_DIR}/src | ||
${PROJECT_SOURCE_DIR}/src/pstd | ||
${PROJECT_SOURCE_DIR}/src/net | ||
${PROJECT_SOURCE_DIR}/src/storage/include | ||
${rocksdb_SOURCE_DIR}/ | ||
${rocksdb_SOURCE_DIR}/include | ||
) | ||
|
||
TARGET_LINK_LIBRARIES(pikiwidb net; dl; leveldb; fmt; pikiwidb-folly; storage; rocksdb) | ||
SET_TARGET_PROPERTIES(pikiwidb PROPERTIES LINKER_LANGUAGE CXX) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.