Skip to content

Commit 3b01ec3

Browse files
author
birydrad
committed
celldb: version 2
- thread safe cache - parallel commit - multiple optimizations - support of key-value merge operations - improved tests and benchmarks - in-memory version won't read from key value after start - uses vector in-memory table now - use rocksdb::WALRecoveryMode::kTolerateCorruptedTailRecords - do not silently ignore errors during recovery
1 parent 46d4e12 commit 3b01ec3

32 files changed

+3272
-314
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ if (TON_USE_ROCKSDB)
155155
set(WITH_GFLAGS OFF CACHE BOOL "build with GFlags")
156156
set(WITH_TESTS OFF CACHE BOOL "build with tests")
157157
set(WITH_TOOLS OFF CACHE BOOL "build with tools")
158+
set(USE_RTTI ON CACHE BOOL "use rtti")
158159
set(FAIL_ON_WARNINGS OFF CACHE BOOL "fail on warnings")
159160
message("Add rocksdb")
160161
add_subdirectory(third-party/rocksdb EXCLUDE_FROM_ALL)

crypto/CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ set(TON_CRYPTO_SOURCE
144144

145145
set(TON_DB_SOURCE
146146
vm/db/DynamicBagOfCellsDb.cpp
147+
vm/db/DynamicBagOfCellsDbV2.cpp
147148
vm/db/CellStorage.cpp
148149
vm/db/TonDb.cpp
149150

@@ -541,7 +542,7 @@ target_include_directories(create-state PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT
541542
if (INTERNAL_COMPILE)
542543
target_link_libraries(create-state PUBLIC ton_crypto fift-lib tonlib git)
543544
else()
544-
if (TONLIB_COMPILE)
545+
if (TONLIB_COMPILE)
545546
target_link_libraries(create-state PUBLIC ton_crypto fift-lib tonlib git)
546547
else()
547548
target_link_libraries(create-state PUBLIC ton_crypto fift-lib git)

0 commit comments

Comments
 (0)