Skip to content

Commit c863c42

Browse files
author
birydrad
committedFeb 25, 2025
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 1b70e48 commit c863c42

32 files changed

+3274
-316
lines changed
 

‎CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ if (TON_USE_ROCKSDB)
156156
set(WITH_GFLAGS OFF CACHE BOOL "build with GFlags")
157157
set(WITH_TESTS OFF CACHE BOOL "build with tests")
158158
set(WITH_TOOLS OFF CACHE BOOL "build with tools")
159+
set(USE_RTTI ON CACHE BOOL "use rtti")
159160
set(FAIL_ON_WARNINGS OFF CACHE BOOL "fail on warnings")
160161
message("Add rocksdb")
161162
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)