summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrej Kozemcak <andrej.kozemcak@siemens.com>2026-03-12 15:05:00 +0100
committerKhem Raj <raj.khem@gmail.com>2026-03-17 22:02:53 -0700
commit6d6c0b99d386f8fa229a65fec6a91130146dac3b (patch)
treeb70d2bc958f94435c5558480a02d3eb34e4bb1c7
parentfc1549090f980c620259cd8e81c9b0a0b258c7e2 (diff)
downloadmeta-openembedded-6d6c0b99d386f8fa229a65fec6a91130146dac3b.tar.gz
rocksdb: upgrade 9.10.0 -> 10.10.1
Remove not exist PACKAGECONFIG option `lite` Add new PACKAGECONFIG option liburing Changelog: v10.10.1 https://github.com/facebook/rocksdb/releases/tag/v10.10.1 Bugs: - Fixed a bug in best-efforts recovery that causes use-after-free crashes when accessing SST files that were cached during the recovery. - Fix resumable compaction incorrectly allowing resumption from a truncated range deletion that is not well handled currently. - Fixed a bug in PosixRandomFileAccess IO uring submission queue ownership & management. Fix eliminates the false positive 'Bad cqe data' IO errors in PosixRandomFileAccess::MultiRead when interleaved with PosixRandomFileAccess::ReadAsync on the same thread. - Fix Windows VS 2022 build errors. v10.9.1: https://github.com/facebook/rocksdb/releases/tag/v10.9.1 v10.8.3: https://github.com/facebook/rocksdb/releases/tag/v10.8.3 v10.7.5: https://github.com/facebook/rocksdb/releases/tag/v10.7.5 v10.6.2: https://github.com/facebook/rocksdb/releases/tag/v10.6.2 v10.5.1: https://github.com/facebook/rocksdb/releases/tag/v10.5.1 v10.4.2: https://github.com/facebook/rocksdb/releases/tag/v10.4.2 v10.2.1: https://github.com/facebook/rocksdb/releases/tag/v10.2.1 v10.1.3: https://github.com/facebook/rocksdb/releases/tag/v10.1.3 v10.0.1: https://github.com/facebook/rocksdb/releases/tag/v10.0.1 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch28
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/0005-Implement-timer-implementation-for-mips-platform.patch4
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/static_library_as_option.patch2
-rw-r--r--meta-oe/recipes-dbs/rocksdb/rocksdb_10.10.1.bb (renamed from meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb)8
4 files changed, 8 insertions, 34 deletions
diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch
index 168bd76ac7..31e3eb53d3 100644
--- a/meta-oe/recipes-dbs/rocksdb/files/0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch
+++ b/meta-oe/recipes-dbs/rocksdb/files/0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch
@@ -22,35 +22,9 @@ TOPDIR/tmp/work/core2-64-oe-linux/rocksdb/9.10.0/git/db/blob/blob_file_meta.h:28
22Upstream-Status: Submitted [https://github.com/facebook/rocksdb/pull/13437] 22Upstream-Status: Submitted [https://github.com/facebook/rocksdb/pull/13437]
23Signed-off-by: mark.yang <mark.yang@lge.com> 23Signed-off-by: mark.yang <mark.yang@lge.com>
24--- 24---
25 db/blob/blob_file_meta.h | 1 +
26 include/rocksdb/trace_record.h | 1 +
27 include/rocksdb/write_batch_base.h | 1 + 25 include/rocksdb/write_batch_base.h | 1 +
28 3 files changed, 3 insertions(+) 26 1 file changed, 1 insertion(+)
29 27
30diff --git a/db/blob/blob_file_meta.h b/db/blob/blob_file_meta.h
31index d7c8a1243..2e47726f8 100644
32--- a/db/blob/blob_file_meta.h
33+++ b/db/blob/blob_file_meta.h
34@@ -6,6 +6,7 @@
35 #pragma once
36
37 #include <cassert>
38+#include <cstdint>
39 #include <iosfwd>
40 #include <memory>
41 #include <string>
42diff --git a/include/rocksdb/trace_record.h b/include/rocksdb/trace_record.h
43index 8f9c3ee2f..d321f5387 100644
44--- a/include/rocksdb/trace_record.h
45+++ b/include/rocksdb/trace_record.h
46@@ -5,6 +5,7 @@
47
48 #pragma once
49
50+#include <cstdint>
51 #include <memory>
52 #include <string>
53 #include <vector>
54diff --git a/include/rocksdb/write_batch_base.h b/include/rocksdb/write_batch_base.h 28diff --git a/include/rocksdb/write_batch_base.h b/include/rocksdb/write_batch_base.h
55index 3334a1292..43b186029 100644 29index 3334a1292..43b186029 100644
56--- a/include/rocksdb/write_batch_base.h 30--- a/include/rocksdb/write_batch_base.h
diff --git a/meta-oe/recipes-dbs/rocksdb/files/0005-Implement-timer-implementation-for-mips-platform.patch b/meta-oe/recipes-dbs/rocksdb/files/0005-Implement-timer-implementation-for-mips-platform.patch
index 2979b73d2f..6205e55b3f 100644
--- a/meta-oe/recipes-dbs/rocksdb/files/0005-Implement-timer-implementation-for-mips-platform.patch
+++ b/meta-oe/recipes-dbs/rocksdb/files/0005-Implement-timer-implementation-for-mips-platform.patch
@@ -14,9 +14,9 @@ diff --git a/utilities/transactions/lock/range/range_tree/lib/portability/toku_t
14index 0a7488c397..ad7d9f2124 100644 14index 0a7488c397..ad7d9f2124 100644
15--- a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h 15--- a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
16+++ b/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h 16+++ b/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
17@@ -162,6 +162,12 @@ static inline tokutime_t toku_time_now(void) { 17@@ -158,6 +158,12 @@ static inline tokutime_t toku_time_now(void) {
18 unsigned long result; 18 unsigned long result;
19 asm volatile ("rdtime.d\t%0,$r0" : "=r" (result)); 19 asm volatile("rdtime.d\t%0,$r0" : "=r"(result));
20 return result; 20 return result;
21+#elif defined(__mips__) 21+#elif defined(__mips__)
22+ // mips apparently only allows rdtsc for superusers, so we fall 22+ // mips apparently only allows rdtsc for superusers, so we fall
diff --git a/meta-oe/recipes-dbs/rocksdb/files/static_library_as_option.patch b/meta-oe/recipes-dbs/rocksdb/files/static_library_as_option.patch
index 9a85e8db45..0f957433a7 100644
--- a/meta-oe/recipes-dbs/rocksdb/files/static_library_as_option.patch
+++ b/meta-oe/recipes-dbs/rocksdb/files/static_library_as_option.patch
@@ -26,7 +26,7 @@ index 93b884dd9c1..2ca925d505c 100644
26+option(ROCKSDB_BUILD_STATIC "Build static versions of the RocksDB libraries" ON) 26+option(ROCKSDB_BUILD_STATIC "Build static versions of the RocksDB libraries" ON)
27 27
28 if( NOT DEFINED CMAKE_CXX_STANDARD ) 28 if( NOT DEFINED CMAKE_CXX_STANDARD )
29 set(CMAKE_CXX_STANDARD 17) 29 set(CMAKE_CXX_STANDARD 20)
30@@ -1139,11 +1140,13 @@ string(REGEX REPLACE "[^0-9: /-]+" "" GIT_DATE "${GIT_DATE}") 30@@ -1139,11 +1140,13 @@ string(REGEX REPLACE "[^0-9: /-]+" "" GIT_DATE "${GIT_DATE}")
31 set(BUILD_VERSION_CC ${CMAKE_BINARY_DIR}/build_version.cc) 31 set(BUILD_VERSION_CC ${CMAKE_BINARY_DIR}/build_version.cc)
32 configure_file(util/build_version.cc.in ${BUILD_VERSION_CC} @ONLY) 32 configure_file(util/build_version.cc.in ${BUILD_VERSION_CC} @ONLY)
diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb b/meta-oe/recipes-dbs/rocksdb/rocksdb_10.10.1.bb
index d8ba31e8ca..cc0e887ea5 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_10.10.1.bb
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
6 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 6 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
7 file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837" 7 file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
8 8
9SRCREV = "ae8fb3e5000e46d8d4c9dbf3a36019c0aaceebff" 9SRCREV = "4595a5e95ae8525c42e172a054435782b3479c57"
10SRCBRANCH = "9.10.fb" 10SRCBRANCH = "10.10.fb"
11 11
12SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH};protocol=https \ 12SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH};protocol=https;tag=v${PV} \
13 file://0001-cmake-Add-check-for-atomic-support.patch \ 13 file://0001-cmake-Add-check-for-atomic-support.patch \
14 file://0002-cmake-Use-exported-target-for-bz2.patch \ 14 file://0002-cmake-Use-exported-target-for-bz2.patch \
15 file://0003-cmake-Do-not-add-msse4.2-mpclmul-on-clang.patch \ 15 file://0003-cmake-Do-not-add-msse4.2-mpclmul-on-clang.patch \
@@ -39,7 +39,7 @@ PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
39PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4" 39PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
40PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib" 40PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
41PACKAGECONFIG[zstd] = "-DWITH_ZSTD=ON,-DWITH_ZSTD=OFF,zstd" 41PACKAGECONFIG[zstd] = "-DWITH_ZSTD=ON,-DWITH_ZSTD=OFF,zstd"
42PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF" 42PACKAGECONFIG[liburing] = "-DWITH_LIBURING=ON,-DWITH_LIBURING=OFF,liburing"
43PACKAGECONFIG[gflags] = "-DWITH_GFLAGS=ON,-DWITH_GFLAGS=OFF,gflags" 43PACKAGECONFIG[gflags] = "-DWITH_GFLAGS=ON,-DWITH_GFLAGS=OFF,gflags"
44 44
45# Tools and tests currently don't compile on armv5 so we disable them 45# Tools and tests currently don't compile on armv5 so we disable them