diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b23c53 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +./build +./data \ No newline at end of file diff --git a/Makefile b/Makefile index 74a0aeb..34da81e 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,17 @@ ODIN := odin BUILD_DIR := build SRC_DIR := . +# C++ shim (WAL replication helpers via RocksDB C++ API) +SHIM_DIR := rocksdb_shim +SHIM_LIB := $(BUILD_DIR)/libjormun_rocksdb_shim.a +SHIM_SRCS := $(SHIM_DIR)/rocksdb_shim.cc +SHIM_HDRS := $(SHIM_DIR)/rocksdb_shim.h + +CXX := g++ +AR := ar +CXXFLAGS := -O2 -fPIC -std=c++17 $(INCLUDE_PATH) + + # RocksDB and compression libraries ROCKSDB_LIBS := -lrocksdb -lstdc++ -lsnappy -llz4 -lzstd -lz -lbz2 @@ -27,7 +38,7 @@ RELEASE_FLAGS := -o:speed -disable-assert -no-bounds-check COMMON_FLAGS := -vet -strict-style # Linker flags -EXTRA_LINKER_FLAGS := $(LIB_PATH) $(ROCKSDB_LIBS) +EXTRA_LINKER_FLAGS := $(LIB_PATH) $(SHIM_LIB) $(ROCKSDB_LIBS) # Runtime configuration PORT ?= 8000 @@ -42,11 +53,20 @@ YELLOW := \033[0;33m RED := \033[0;31m NC := \033[0m # No Color +$(SHIM_LIB): $(SHIM_SRCS) $(SHIM_HDRS) | $(BUILD_DIR) + @echo "$(BLUE)Building RocksDB C++ shim...$(NC)" + $(CXX) $(CXXFLAGS) -c $(SHIM_SRCS) -o $(BUILD_DIR)/rocksdb_shim.o + $(AR) rcs $(SHIM_LIB) $(BUILD_DIR)/rocksdb_shim.o + @echo "$(GREEN)✓ Built: $(SHIM_LIB)$(NC)" + +$(BUILD_DIR): + @mkdir -p $(BUILD_DIR) + # Default target all: build # Build debug version -build: +build: $(SHIM_LIB) @echo "$(BLUE)Building $(PROJECT_NAME) (debug)...$(NC)" @mkdir -p $(BUILD_DIR) $(ODIN) build $(SRC_DIR) \ @@ -57,7 +77,7 @@ build: @echo "$(GREEN)✓ Build complete: $(BUILD_DIR)/$(PROJECT_NAME)$(NC)" # Build optimized release version -release: +release: $(SHIM_LIB) @echo "$(BLUE)Building $(PROJECT_NAME) (release)...$(NC)" @mkdir -p $(BUILD_DIR) $(ODIN) build $(SRC_DIR) \ diff --git a/build/jormundb b/build/jormundb index dc881cb..c320214 100755 Binary files a/build/jormundb and b/build/jormundb differ diff --git a/build/libjormun_rocksdb_shim.a b/build/libjormun_rocksdb_shim.a new file mode 100644 index 0000000..c042a47 Binary files /dev/null and b/build/libjormun_rocksdb_shim.a differ diff --git a/build/rocksdb_shim.o b/build/rocksdb_shim.o new file mode 100644 index 0000000..685c715 Binary files /dev/null and b/build/rocksdb_shim.o differ diff --git a/concat_project.sh b/concat_project.sh index 483ba7c..a18c5da 100755 --- a/concat_project.sh +++ b/concat_project.sh @@ -4,7 +4,7 @@ OUTPUT_FILE="project_context.txt" # Directories to exclude -EXCLUDE_DIRS=("odin-out" "data" ".git" "node_modules" ".odin-cache" "tests") +EXCLUDE_DIRS=("build" "data" ".git") # File extensions to include (add more as needed) INCLUDE_EXTENSIONS=("odin" "Makefile" "md") diff --git a/data/000004.log b/data/000008.log similarity index 100% rename from data/000004.log rename to data/000008.log diff --git a/data/CURRENT b/data/CURRENT index aa5bb8e..6ba31a3 100644 --- a/data/CURRENT +++ b/data/CURRENT @@ -1 +1 @@ -MANIFEST-000005 +MANIFEST-000009 diff --git a/data/LOG b/data/LOG index 9cf34be..9a8721e 100644 --- a/data/LOG +++ b/data/LOG @@ -1,250 +1,252 @@ -2026/02/15-08:54:06.511816 414231 RocksDB version: 10.9.1 -2026/02/15-08:54:06.511863 414231 Git sha 5fbc1cd5bcf63782675168b98e114151490de6d9 -2026/02/15-08:54:06.511865 414231 Compile date 2026-01-06 12:13:12 -2026/02/15-08:54:06.511866 414231 DB SUMMARY -2026/02/15-08:54:06.511867 414231 Host name (Env): arch -2026/02/15-08:54:06.511868 414231 DB Session ID: Q7XLE4A3DKSF5H391J6S -2026/02/15-08:54:06.511889 414231 SST files in ./data dir, Total Num: 0, files: -2026/02/15-08:54:06.511893 414231 Write Ahead Log file in ./data: -2026/02/15-08:54:06.511894 414231 Options.error_if_exists: 0 -2026/02/15-08:54:06.511895 414231 Options.create_if_missing: 1 -2026/02/15-08:54:06.511896 414231 Options.paranoid_checks: 1 -2026/02/15-08:54:06.511896 414231 Options.flush_verify_memtable_count: 1 -2026/02/15-08:54:06.511897 414231 Options.compaction_verify_record_count: 1 -2026/02/15-08:54:06.511898 414231 Options.track_and_verify_wals_in_manifest: 0 -2026/02/15-08:54:06.511898 414231 Options.track_and_verify_wals: 0 -2026/02/15-08:54:06.511899 414231 Options.verify_sst_unique_id_in_manifest: 1 -2026/02/15-08:54:06.511900 414231 Options.env: 0x3a7859c0 -2026/02/15-08:54:06.511900 414231 Options.fs: PosixFileSystem -2026/02/15-08:54:06.511901 414231 Options.info_log: 0x3a78ff90 -2026/02/15-08:54:06.511902 414231 Options.max_file_opening_threads: 16 -2026/02/15-08:54:06.511902 414231 Options.statistics: (nil) -2026/02/15-08:54:06.511904 414231 Options.use_fsync: 0 -2026/02/15-08:54:06.511904 414231 Options.max_log_file_size: 0 -2026/02/15-08:54:06.511905 414231 Options.log_file_time_to_roll: 0 -2026/02/15-08:54:06.511905 414231 Options.keep_log_file_num: 1000 -2026/02/15-08:54:06.511906 414231 Options.recycle_log_file_num: 0 -2026/02/15-08:54:06.511907 414231 Options.allow_fallocate: 1 -2026/02/15-08:54:06.511907 414231 Options.allow_mmap_reads: 0 -2026/02/15-08:54:06.511908 414231 Options.allow_mmap_writes: 0 -2026/02/15-08:54:06.511909 414231 Options.use_direct_reads: 0 -2026/02/15-08:54:06.511909 414231 Options.use_direct_io_for_flush_and_compaction: 0 -2026/02/15-08:54:06.511910 414231 Options.create_missing_column_families: 0 -2026/02/15-08:54:06.511910 414231 Options.db_log_dir: -2026/02/15-08:54:06.511911 414231 Options.wal_dir: -2026/02/15-08:54:06.511912 414231 Options.table_cache_numshardbits: 6 -2026/02/15-08:54:06.511912 414231 Options.WAL_ttl_seconds: 0 -2026/02/15-08:54:06.511913 414231 Options.WAL_size_limit_MB: 0 -2026/02/15-08:54:06.511914 414231 Options.max_write_batch_group_size_bytes: 1048576 -2026/02/15-08:54:06.511914 414231 Options.is_fd_close_on_exec: 1 -2026/02/15-08:54:06.511915 414231 Options.advise_random_on_open: 1 -2026/02/15-08:54:06.511915 414231 Options.db_write_buffer_size: 0 -2026/02/15-08:54:06.511916 414231 Options.write_buffer_manager: 0x3a790180 -2026/02/15-08:54:06.511917 414231 Options.use_adaptive_mutex: 0 -2026/02/15-08:54:06.511917 414231 Options.rate_limiter: (nil) -2026/02/15-08:54:06.511918 414231 Options.sst_file_manager.rate_bytes_per_sec: 0 -2026/02/15-08:54:06.511919 414231 Options.wal_recovery_mode: 2 -2026/02/15-08:54:06.511919 414231 Options.enable_thread_tracking: 0 -2026/02/15-08:54:06.511920 414231 Options.enable_pipelined_write: 0 -2026/02/15-08:54:06.511921 414231 Options.unordered_write: 0 -2026/02/15-08:54:06.511921 414231 Options.allow_concurrent_memtable_write: 1 -2026/02/15-08:54:06.511923 414231 Options.enable_write_thread_adaptive_yield: 1 -2026/02/15-08:54:06.511924 414231 Options.write_thread_max_yield_usec: 100 -2026/02/15-08:54:06.511924 414231 Options.write_thread_slow_yield_usec: 3 -2026/02/15-08:54:06.511925 414231 Options.row_cache: None -2026/02/15-08:54:06.511926 414231 Options.wal_filter: None -2026/02/15-08:54:06.511926 414231 Options.avoid_flush_during_recovery: 0 -2026/02/15-08:54:06.511927 414231 Options.allow_ingest_behind: 0 -2026/02/15-08:54:06.511928 414231 Options.two_write_queues: 0 -2026/02/15-08:54:06.511928 414231 Options.manual_wal_flush: 0 -2026/02/15-08:54:06.511929 414231 Options.wal_compression: 0 -2026/02/15-08:54:06.511929 414231 Options.background_close_inactive_wals: 0 -2026/02/15-08:54:06.511930 414231 Options.atomic_flush: 0 -2026/02/15-08:54:06.511931 414231 Options.avoid_unnecessary_blocking_io: 0 -2026/02/15-08:54:06.511931 414231 Options.prefix_seek_opt_in_only: 0 -2026/02/15-08:54:06.511932 414231 Options.persist_stats_to_disk: 0 -2026/02/15-08:54:06.511932 414231 Options.write_dbid_to_manifest: 1 -2026/02/15-08:54:06.511933 414231 Options.write_identity_file: 1 -2026/02/15-08:54:06.511934 414231 Options.log_readahead_size: 0 -2026/02/15-08:54:06.511934 414231 Options.file_checksum_gen_factory: Unknown -2026/02/15-08:54:06.511935 414231 Options.best_efforts_recovery: 0 -2026/02/15-08:54:06.511935 414231 Options.max_bgerror_resume_count: 2147483647 -2026/02/15-08:54:06.511936 414231 Options.bgerror_resume_retry_interval: 1000000 -2026/02/15-08:54:06.511937 414231 Options.allow_data_in_errors: 0 -2026/02/15-08:54:06.511937 414231 Options.db_host_id: __hostname__ -2026/02/15-08:54:06.511938 414231 Options.enforce_single_del_contracts: true -2026/02/15-08:54:06.511939 414231 Options.metadata_write_temperature: kUnknown -2026/02/15-08:54:06.511940 414231 Options.wal_write_temperature: kUnknown -2026/02/15-08:54:06.511940 414231 Options.max_background_jobs: 4 -2026/02/15-08:54:06.511941 414231 Options.max_background_compactions: -1 -2026/02/15-08:54:06.511942 414231 Options.max_subcompactions: 1 -2026/02/15-08:54:06.511942 414231 Options.avoid_flush_during_shutdown: 0 -2026/02/15-08:54:06.511943 414231 Options.writable_file_max_buffer_size: 1048576 -2026/02/15-08:54:06.511944 414231 Options.delayed_write_rate : 16777216 -2026/02/15-08:54:06.511944 414231 Options.max_total_wal_size: 0 -2026/02/15-08:54:06.511945 414231 Options.delete_obsolete_files_period_micros: 21600000000 -2026/02/15-08:54:06.511946 414231 Options.stats_dump_period_sec: 600 -2026/02/15-08:54:06.511946 414231 Options.stats_persist_period_sec: 600 -2026/02/15-08:54:06.511947 414231 Options.stats_history_buffer_size: 1048576 -2026/02/15-08:54:06.511947 414231 Options.max_open_files: -1 -2026/02/15-08:54:06.511948 414231 Options.bytes_per_sync: 0 -2026/02/15-08:54:06.511949 414231 Options.wal_bytes_per_sync: 0 -2026/02/15-08:54:06.511949 414231 Options.strict_bytes_per_sync: 0 -2026/02/15-08:54:06.511950 414231 Options.compaction_readahead_size: 2097152 -2026/02/15-08:54:06.511951 414231 Options.max_background_flushes: -1 -2026/02/15-08:54:06.511951 414231 Options.max_manifest_file_size: 1073741824 -2026/02/15-08:54:06.511952 414231 Options.max_manifest_space_amp_pct: 500 -2026/02/15-08:54:06.511952 414231 Options.manifest_preallocation_size: 4194304 -2026/02/15-08:54:06.511953 414231 Options.daily_offpeak_time_utc: -2026/02/15-08:54:06.511954 414231 Compression algorithms supported: -2026/02/15-08:54:06.511955 414231 kCustomCompressionFE supported: 0 -2026/02/15-08:54:06.511956 414231 kCustomCompressionFC supported: 0 -2026/02/15-08:54:06.511957 414231 kCustomCompressionF8 supported: 0 -2026/02/15-08:54:06.511958 414231 kCustomCompressionF7 supported: 0 -2026/02/15-08:54:06.511958 414231 kCustomCompressionB2 supported: 0 -2026/02/15-08:54:06.511959 414231 kLZ4Compression supported: 1 -2026/02/15-08:54:06.511960 414231 kCustomCompression88 supported: 0 -2026/02/15-08:54:06.511960 414231 kCustomCompressionD8 supported: 0 -2026/02/15-08:54:06.511961 414231 kCustomCompression9F supported: 0 -2026/02/15-08:54:06.511961 414231 kCustomCompressionD6 supported: 0 -2026/02/15-08:54:06.511962 414231 kCustomCompressionA9 supported: 0 -2026/02/15-08:54:06.511963 414231 kCustomCompressionEC supported: 0 -2026/02/15-08:54:06.511964 414231 kCustomCompressionA3 supported: 0 -2026/02/15-08:54:06.511964 414231 kCustomCompressionCB supported: 0 -2026/02/15-08:54:06.511965 414231 kCustomCompression90 supported: 0 -2026/02/15-08:54:06.511966 414231 kCustomCompressionA0 supported: 0 -2026/02/15-08:54:06.511966 414231 kCustomCompressionC6 supported: 0 -2026/02/15-08:54:06.511967 414231 kCustomCompression9D supported: 0 -2026/02/15-08:54:06.511967 414231 kCustomCompression8B supported: 0 -2026/02/15-08:54:06.511968 414231 kCustomCompressionA8 supported: 0 -2026/02/15-08:54:06.511969 414231 kCustomCompression8D supported: 0 -2026/02/15-08:54:06.511969 414231 kCustomCompression97 supported: 0 -2026/02/15-08:54:06.511970 414231 kCustomCompression98 supported: 0 -2026/02/15-08:54:06.511971 414231 kCustomCompressionAC supported: 0 -2026/02/15-08:54:06.511971 414231 kCustomCompressionE9 supported: 0 -2026/02/15-08:54:06.511972 414231 kCustomCompression96 supported: 0 -2026/02/15-08:54:06.511973 414231 kCustomCompressionB1 supported: 0 -2026/02/15-08:54:06.511973 414231 kCustomCompression95 supported: 0 -2026/02/15-08:54:06.511974 414231 kCustomCompression84 supported: 0 -2026/02/15-08:54:06.511975 414231 kCustomCompression91 supported: 0 -2026/02/15-08:54:06.511975 414231 kCustomCompressionAB supported: 0 -2026/02/15-08:54:06.511976 414231 kCustomCompressionB3 supported: 0 -2026/02/15-08:54:06.511976 414231 kCustomCompression81 supported: 0 -2026/02/15-08:54:06.511977 414231 kCustomCompressionDC supported: 0 -2026/02/15-08:54:06.511978 414231 kBZip2Compression supported: 1 -2026/02/15-08:54:06.511978 414231 kCustomCompressionBB supported: 0 -2026/02/15-08:54:06.511979 414231 kCustomCompression9C supported: 0 -2026/02/15-08:54:06.511980 414231 kCustomCompressionC9 supported: 0 -2026/02/15-08:54:06.511980 414231 kCustomCompressionCC supported: 0 -2026/02/15-08:54:06.511981 414231 kCustomCompression92 supported: 0 -2026/02/15-08:54:06.511981 414231 kCustomCompressionB9 supported: 0 -2026/02/15-08:54:06.511982 414231 kCustomCompression8F supported: 0 -2026/02/15-08:54:06.511983 414231 kCustomCompression8A supported: 0 -2026/02/15-08:54:06.511983 414231 kCustomCompression9B supported: 0 -2026/02/15-08:54:06.511984 414231 kZSTD supported: 1 -2026/02/15-08:54:06.511985 414231 kCustomCompressionAA supported: 0 -2026/02/15-08:54:06.511985 414231 kCustomCompressionA2 supported: 0 -2026/02/15-08:54:06.511986 414231 kZlibCompression supported: 1 -2026/02/15-08:54:06.511986 414231 kXpressCompression supported: 0 -2026/02/15-08:54:06.511987 414231 kCustomCompressionFD supported: 0 -2026/02/15-08:54:06.511988 414231 kCustomCompressionE2 supported: 0 -2026/02/15-08:54:06.511988 414231 kLZ4HCCompression supported: 1 -2026/02/15-08:54:06.511989 414231 kCustomCompressionA6 supported: 0 -2026/02/15-08:54:06.511990 414231 kCustomCompression85 supported: 0 -2026/02/15-08:54:06.511990 414231 kCustomCompressionA4 supported: 0 -2026/02/15-08:54:06.511991 414231 kCustomCompression86 supported: 0 -2026/02/15-08:54:06.511992 414231 kCustomCompression83 supported: 0 -2026/02/15-08:54:06.511992 414231 kCustomCompression87 supported: 0 -2026/02/15-08:54:06.511993 414231 kCustomCompression89 supported: 0 -2026/02/15-08:54:06.511994 414231 kCustomCompression8C supported: 0 -2026/02/15-08:54:06.511995 414231 kCustomCompressionDB supported: 0 -2026/02/15-08:54:06.512022 414231 kCustomCompressionF3 supported: 0 -2026/02/15-08:54:06.512024 414231 kCustomCompressionE6 supported: 0 -2026/02/15-08:54:06.512024 414231 kCustomCompression8E supported: 0 -2026/02/15-08:54:06.512025 414231 kCustomCompressionDA supported: 0 -2026/02/15-08:54:06.512025 414231 kCustomCompression93 supported: 0 -2026/02/15-08:54:06.512026 414231 kCustomCompression94 supported: 0 -2026/02/15-08:54:06.512027 414231 kCustomCompression9E supported: 0 -2026/02/15-08:54:06.512027 414231 kCustomCompressionB4 supported: 0 -2026/02/15-08:54:06.512028 414231 kCustomCompressionFB supported: 0 -2026/02/15-08:54:06.512029 414231 kCustomCompressionB5 supported: 0 -2026/02/15-08:54:06.512030 414231 kCustomCompressionD5 supported: 0 -2026/02/15-08:54:06.512030 414231 kCustomCompressionB8 supported: 0 -2026/02/15-08:54:06.512031 414231 kCustomCompressionD1 supported: 0 -2026/02/15-08:54:06.512031 414231 kCustomCompressionBA supported: 0 -2026/02/15-08:54:06.512032 414231 kCustomCompressionBC supported: 0 -2026/02/15-08:54:06.512033 414231 kCustomCompressionCE supported: 0 -2026/02/15-08:54:06.512033 414231 kCustomCompressionBD supported: 0 -2026/02/15-08:54:06.512034 414231 kCustomCompressionC4 supported: 0 -2026/02/15-08:54:06.512035 414231 kCustomCompression9A supported: 0 -2026/02/15-08:54:06.512035 414231 kCustomCompression99 supported: 0 -2026/02/15-08:54:06.512036 414231 kCustomCompressionBE supported: 0 -2026/02/15-08:54:06.512053 414231 kCustomCompressionE5 supported: 0 -2026/02/15-08:54:06.512054 414231 kCustomCompressionD9 supported: 0 -2026/02/15-08:54:06.512055 414231 kCustomCompressionC1 supported: 0 -2026/02/15-08:54:06.512055 414231 kCustomCompressionC5 supported: 0 -2026/02/15-08:54:06.512056 414231 kCustomCompressionC2 supported: 0 -2026/02/15-08:54:06.512057 414231 kCustomCompressionA5 supported: 0 -2026/02/15-08:54:06.512057 414231 kCustomCompressionC7 supported: 0 -2026/02/15-08:54:06.512058 414231 kCustomCompressionBF supported: 0 -2026/02/15-08:54:06.512058 414231 kCustomCompressionE8 supported: 0 -2026/02/15-08:54:06.512059 414231 kCustomCompressionC8 supported: 0 -2026/02/15-08:54:06.512060 414231 kCustomCompressionAF supported: 0 -2026/02/15-08:54:06.512060 414231 kCustomCompressionCA supported: 0 -2026/02/15-08:54:06.512061 414231 kCustomCompressionCD supported: 0 -2026/02/15-08:54:06.512061 414231 kCustomCompressionC0 supported: 0 -2026/02/15-08:54:06.512062 414231 kCustomCompressionCF supported: 0 -2026/02/15-08:54:06.512063 414231 kCustomCompressionF9 supported: 0 -2026/02/15-08:54:06.512063 414231 kCustomCompressionD0 supported: 0 -2026/02/15-08:54:06.512064 414231 kCustomCompressionD2 supported: 0 -2026/02/15-08:54:06.512064 414231 kCustomCompressionAD supported: 0 -2026/02/15-08:54:06.512065 414231 kCustomCompressionD3 supported: 0 -2026/02/15-08:54:06.512066 414231 kCustomCompressionD4 supported: 0 -2026/02/15-08:54:06.512066 414231 kCustomCompressionD7 supported: 0 -2026/02/15-08:54:06.512067 414231 kCustomCompression82 supported: 0 -2026/02/15-08:54:06.512068 414231 kCustomCompressionDD supported: 0 -2026/02/15-08:54:06.512068 414231 kCustomCompressionC3 supported: 0 -2026/02/15-08:54:06.512069 414231 kCustomCompressionEE supported: 0 -2026/02/15-08:54:06.512070 414231 kCustomCompressionDE supported: 0 -2026/02/15-08:54:06.512070 414231 kCustomCompressionDF supported: 0 -2026/02/15-08:54:06.512071 414231 kCustomCompressionA7 supported: 0 -2026/02/15-08:54:06.512071 414231 kCustomCompressionE0 supported: 0 -2026/02/15-08:54:06.512072 414231 kCustomCompressionF1 supported: 0 -2026/02/15-08:54:06.512073 414231 kCustomCompressionE1 supported: 0 -2026/02/15-08:54:06.512073 414231 kCustomCompressionF5 supported: 0 -2026/02/15-08:54:06.512074 414231 kCustomCompression80 supported: 0 -2026/02/15-08:54:06.512075 414231 kCustomCompressionE3 supported: 0 -2026/02/15-08:54:06.512075 414231 kCustomCompressionE4 supported: 0 -2026/02/15-08:54:06.512077 414231 kCustomCompressionB0 supported: 0 -2026/02/15-08:54:06.512077 414231 kCustomCompressionEA supported: 0 -2026/02/15-08:54:06.512078 414231 kCustomCompressionFA supported: 0 -2026/02/15-08:54:06.512079 414231 kCustomCompressionE7 supported: 0 -2026/02/15-08:54:06.512079 414231 kCustomCompressionAE supported: 0 -2026/02/15-08:54:06.512080 414231 kCustomCompressionEB supported: 0 -2026/02/15-08:54:06.512081 414231 kCustomCompressionED supported: 0 -2026/02/15-08:54:06.512081 414231 kCustomCompressionB6 supported: 0 -2026/02/15-08:54:06.512082 414231 kCustomCompressionEF supported: 0 -2026/02/15-08:54:06.512082 414231 kCustomCompressionF0 supported: 0 -2026/02/15-08:54:06.512083 414231 kCustomCompressionB7 supported: 0 -2026/02/15-08:54:06.512084 414231 kCustomCompressionF2 supported: 0 -2026/02/15-08:54:06.512084 414231 kCustomCompressionA1 supported: 0 -2026/02/15-08:54:06.512085 414231 kCustomCompressionF4 supported: 0 -2026/02/15-08:54:06.512086 414231 kSnappyCompression supported: 1 -2026/02/15-08:54:06.512086 414231 kCustomCompressionF6 supported: 0 -2026/02/15-08:54:06.512087 414231 Fast CRC32 supported: Not supported on x86 -2026/02/15-08:54:06.512088 414231 DMutex implementation: pthread_mutex_t -2026/02/15-08:54:06.512088 414231 Jemalloc supported: 0 -2026/02/15-08:54:06.518228 414231 [db/db_impl/db_impl_open.cc:312] Creating manifest 1 -2026/02/15-08:54:06.526884 414231 [db/version_set.cc:6460] Recovering from manifest file: ./data/MANIFEST-000001 -2026/02/15-08:54:06.527736 414231 [db/column_family.cc:691] --------------- Options for column family [default]: -2026/02/15-08:54:06.527984 414231 Options.comparator: leveldb.BytewiseComparator -2026/02/15-08:54:06.527985 414231 Options.merge_operator: None -2026/02/15-08:54:06.527986 414231 Options.compaction_filter: None -2026/02/15-08:54:06.527986 414231 Options.compaction_filter_factory: None -2026/02/15-08:54:06.527987 414231 Options.sst_partitioner_factory: None -2026/02/15-08:54:06.527987 414231 Options.memtable_factory: SkipListFactory -2026/02/15-08:54:06.527988 414231 Options.table_factory: BlockBasedTable -2026/02/15-08:54:06.528029 414231 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (0x3a78dde0) +2026/02/15-11:16:48.527282 480749 RocksDB version: 10.9.1 +2026/02/15-11:16:48.527324 480749 Git sha 5fbc1cd5bcf63782675168b98e114151490de6d9 +2026/02/15-11:16:48.527325 480749 Compile date 2026-01-06 12:13:12 +2026/02/15-11:16:48.527326 480749 DB SUMMARY +2026/02/15-11:16:48.527328 480749 Host name (Env): arch +2026/02/15-11:16:48.527328 480749 DB Session ID: TIEPG53HYZXUHMOLDWBO +2026/02/15-11:16:48.527356 480749 CURRENT file: CURRENT +2026/02/15-11:16:48.527358 480749 IDENTITY file: IDENTITY +2026/02/15-11:16:48.527360 480749 MANIFEST file: MANIFEST-000005 size: 116 Bytes +2026/02/15-11:16:48.527364 480749 SST files in ./data dir, Total Num: 0, files: +2026/02/15-11:16:48.527365 480749 Write Ahead Log file in ./data: 000004.log size: 0 ; +2026/02/15-11:16:48.527366 480749 Options.error_if_exists: 0 +2026/02/15-11:16:48.527367 480749 Options.create_if_missing: 1 +2026/02/15-11:16:48.527367 480749 Options.paranoid_checks: 1 +2026/02/15-11:16:48.527368 480749 Options.flush_verify_memtable_count: 1 +2026/02/15-11:16:48.527369 480749 Options.compaction_verify_record_count: 1 +2026/02/15-11:16:48.527369 480749 Options.track_and_verify_wals_in_manifest: 0 +2026/02/15-11:16:48.527370 480749 Options.track_and_verify_wals: 0 +2026/02/15-11:16:48.527371 480749 Options.verify_sst_unique_id_in_manifest: 1 +2026/02/15-11:16:48.527371 480749 Options.env: 0x3eb489c0 +2026/02/15-11:16:48.527372 480749 Options.fs: PosixFileSystem +2026/02/15-11:16:48.527372 480749 Options.info_log: 0x3eb52f90 +2026/02/15-11:16:48.527373 480749 Options.max_file_opening_threads: 16 +2026/02/15-11:16:48.527374 480749 Options.statistics: (nil) +2026/02/15-11:16:48.527375 480749 Options.use_fsync: 0 +2026/02/15-11:16:48.527375 480749 Options.max_log_file_size: 0 +2026/02/15-11:16:48.527376 480749 Options.log_file_time_to_roll: 0 +2026/02/15-11:16:48.527377 480749 Options.keep_log_file_num: 1000 +2026/02/15-11:16:48.527377 480749 Options.recycle_log_file_num: 0 +2026/02/15-11:16:48.527378 480749 Options.allow_fallocate: 1 +2026/02/15-11:16:48.527379 480749 Options.allow_mmap_reads: 0 +2026/02/15-11:16:48.527379 480749 Options.allow_mmap_writes: 0 +2026/02/15-11:16:48.527380 480749 Options.use_direct_reads: 0 +2026/02/15-11:16:48.527380 480749 Options.use_direct_io_for_flush_and_compaction: 0 +2026/02/15-11:16:48.527381 480749 Options.create_missing_column_families: 0 +2026/02/15-11:16:48.527382 480749 Options.db_log_dir: +2026/02/15-11:16:48.527382 480749 Options.wal_dir: +2026/02/15-11:16:48.527383 480749 Options.table_cache_numshardbits: 6 +2026/02/15-11:16:48.527384 480749 Options.WAL_ttl_seconds: 0 +2026/02/15-11:16:48.527384 480749 Options.WAL_size_limit_MB: 0 +2026/02/15-11:16:48.527385 480749 Options.max_write_batch_group_size_bytes: 1048576 +2026/02/15-11:16:48.527385 480749 Options.is_fd_close_on_exec: 1 +2026/02/15-11:16:48.527386 480749 Options.advise_random_on_open: 1 +2026/02/15-11:16:48.527387 480749 Options.db_write_buffer_size: 0 +2026/02/15-11:16:48.527387 480749 Options.write_buffer_manager: 0x3eb53180 +2026/02/15-11:16:48.527388 480749 Options.use_adaptive_mutex: 0 +2026/02/15-11:16:48.527389 480749 Options.rate_limiter: (nil) +2026/02/15-11:16:48.527389 480749 Options.sst_file_manager.rate_bytes_per_sec: 0 +2026/02/15-11:16:48.527390 480749 Options.wal_recovery_mode: 2 +2026/02/15-11:16:48.527391 480749 Options.enable_thread_tracking: 0 +2026/02/15-11:16:48.527392 480749 Options.enable_pipelined_write: 0 +2026/02/15-11:16:48.527393 480749 Options.unordered_write: 0 +2026/02/15-11:16:48.527394 480749 Options.allow_concurrent_memtable_write: 1 +2026/02/15-11:16:48.527394 480749 Options.enable_write_thread_adaptive_yield: 1 +2026/02/15-11:16:48.527395 480749 Options.write_thread_max_yield_usec: 100 +2026/02/15-11:16:48.527396 480749 Options.write_thread_slow_yield_usec: 3 +2026/02/15-11:16:48.527396 480749 Options.row_cache: None +2026/02/15-11:16:48.527397 480749 Options.wal_filter: None +2026/02/15-11:16:48.527398 480749 Options.avoid_flush_during_recovery: 0 +2026/02/15-11:16:48.527398 480749 Options.allow_ingest_behind: 0 +2026/02/15-11:16:48.527399 480749 Options.two_write_queues: 0 +2026/02/15-11:16:48.527399 480749 Options.manual_wal_flush: 0 +2026/02/15-11:16:48.527400 480749 Options.wal_compression: 0 +2026/02/15-11:16:48.527401 480749 Options.background_close_inactive_wals: 0 +2026/02/15-11:16:48.527401 480749 Options.atomic_flush: 0 +2026/02/15-11:16:48.527402 480749 Options.avoid_unnecessary_blocking_io: 0 +2026/02/15-11:16:48.527402 480749 Options.prefix_seek_opt_in_only: 0 +2026/02/15-11:16:48.527403 480749 Options.persist_stats_to_disk: 0 +2026/02/15-11:16:48.527404 480749 Options.write_dbid_to_manifest: 1 +2026/02/15-11:16:48.527404 480749 Options.write_identity_file: 1 +2026/02/15-11:16:48.527405 480749 Options.log_readahead_size: 0 +2026/02/15-11:16:48.527406 480749 Options.file_checksum_gen_factory: Unknown +2026/02/15-11:16:48.527406 480749 Options.best_efforts_recovery: 0 +2026/02/15-11:16:48.527407 480749 Options.max_bgerror_resume_count: 2147483647 +2026/02/15-11:16:48.527407 480749 Options.bgerror_resume_retry_interval: 1000000 +2026/02/15-11:16:48.527408 480749 Options.allow_data_in_errors: 0 +2026/02/15-11:16:48.527409 480749 Options.db_host_id: __hostname__ +2026/02/15-11:16:48.527409 480749 Options.enforce_single_del_contracts: true +2026/02/15-11:16:48.527410 480749 Options.metadata_write_temperature: kUnknown +2026/02/15-11:16:48.527411 480749 Options.wal_write_temperature: kUnknown +2026/02/15-11:16:48.527412 480749 Options.max_background_jobs: 4 +2026/02/15-11:16:48.527412 480749 Options.max_background_compactions: -1 +2026/02/15-11:16:48.527413 480749 Options.max_subcompactions: 1 +2026/02/15-11:16:48.527414 480749 Options.avoid_flush_during_shutdown: 0 +2026/02/15-11:16:48.527414 480749 Options.writable_file_max_buffer_size: 1048576 +2026/02/15-11:16:48.527415 480749 Options.delayed_write_rate : 16777216 +2026/02/15-11:16:48.527415 480749 Options.max_total_wal_size: 0 +2026/02/15-11:16:48.527416 480749 Options.delete_obsolete_files_period_micros: 21600000000 +2026/02/15-11:16:48.527417 480749 Options.stats_dump_period_sec: 600 +2026/02/15-11:16:48.527417 480749 Options.stats_persist_period_sec: 600 +2026/02/15-11:16:48.527418 480749 Options.stats_history_buffer_size: 1048576 +2026/02/15-11:16:48.527419 480749 Options.max_open_files: -1 +2026/02/15-11:16:48.527419 480749 Options.bytes_per_sync: 0 +2026/02/15-11:16:48.527420 480749 Options.wal_bytes_per_sync: 0 +2026/02/15-11:16:48.527420 480749 Options.strict_bytes_per_sync: 0 +2026/02/15-11:16:48.527421 480749 Options.compaction_readahead_size: 2097152 +2026/02/15-11:16:48.527422 480749 Options.max_background_flushes: -1 +2026/02/15-11:16:48.527422 480749 Options.max_manifest_file_size: 1073741824 +2026/02/15-11:16:48.527423 480749 Options.max_manifest_space_amp_pct: 500 +2026/02/15-11:16:48.527424 480749 Options.manifest_preallocation_size: 4194304 +2026/02/15-11:16:48.527425 480749 Options.daily_offpeak_time_utc: +2026/02/15-11:16:48.527426 480749 Compression algorithms supported: +2026/02/15-11:16:48.527426 480749 kCustomCompressionFE supported: 0 +2026/02/15-11:16:48.527427 480749 kCustomCompressionFC supported: 0 +2026/02/15-11:16:48.527428 480749 kCustomCompressionF8 supported: 0 +2026/02/15-11:16:48.527429 480749 kCustomCompressionF7 supported: 0 +2026/02/15-11:16:48.527429 480749 kCustomCompressionB2 supported: 0 +2026/02/15-11:16:48.527430 480749 kLZ4Compression supported: 1 +2026/02/15-11:16:48.527431 480749 kCustomCompression88 supported: 0 +2026/02/15-11:16:48.527431 480749 kCustomCompressionD8 supported: 0 +2026/02/15-11:16:48.527432 480749 kCustomCompression9F supported: 0 +2026/02/15-11:16:48.527433 480749 kCustomCompressionD6 supported: 0 +2026/02/15-11:16:48.527433 480749 kCustomCompressionA9 supported: 0 +2026/02/15-11:16:48.527434 480749 kCustomCompressionEC supported: 0 +2026/02/15-11:16:48.527434 480749 kCustomCompressionA3 supported: 0 +2026/02/15-11:16:48.527435 480749 kCustomCompressionCB supported: 0 +2026/02/15-11:16:48.527436 480749 kCustomCompression90 supported: 0 +2026/02/15-11:16:48.527436 480749 kCustomCompressionA0 supported: 0 +2026/02/15-11:16:48.527437 480749 kCustomCompressionC6 supported: 0 +2026/02/15-11:16:48.527438 480749 kCustomCompression9D supported: 0 +2026/02/15-11:16:48.527438 480749 kCustomCompression8B supported: 0 +2026/02/15-11:16:48.527439 480749 kCustomCompressionA8 supported: 0 +2026/02/15-11:16:48.527440 480749 kCustomCompression8D supported: 0 +2026/02/15-11:16:48.527440 480749 kCustomCompression97 supported: 0 +2026/02/15-11:16:48.527441 480749 kCustomCompression98 supported: 0 +2026/02/15-11:16:48.527441 480749 kCustomCompressionAC supported: 0 +2026/02/15-11:16:48.527442 480749 kCustomCompressionE9 supported: 0 +2026/02/15-11:16:48.527443 480749 kCustomCompression96 supported: 0 +2026/02/15-11:16:48.527443 480749 kCustomCompressionB1 supported: 0 +2026/02/15-11:16:48.527444 480749 kCustomCompression95 supported: 0 +2026/02/15-11:16:48.527444 480749 kCustomCompression84 supported: 0 +2026/02/15-11:16:48.527445 480749 kCustomCompression91 supported: 0 +2026/02/15-11:16:48.527446 480749 kCustomCompressionAB supported: 0 +2026/02/15-11:16:48.527446 480749 kCustomCompressionB3 supported: 0 +2026/02/15-11:16:48.527447 480749 kCustomCompression81 supported: 0 +2026/02/15-11:16:48.527448 480749 kCustomCompressionDC supported: 0 +2026/02/15-11:16:48.527448 480749 kBZip2Compression supported: 1 +2026/02/15-11:16:48.527449 480749 kCustomCompressionBB supported: 0 +2026/02/15-11:16:48.527449 480749 kCustomCompression9C supported: 0 +2026/02/15-11:16:48.527450 480749 kCustomCompressionC9 supported: 0 +2026/02/15-11:16:48.527451 480749 kCustomCompressionCC supported: 0 +2026/02/15-11:16:48.527451 480749 kCustomCompression92 supported: 0 +2026/02/15-11:16:48.527452 480749 kCustomCompressionB9 supported: 0 +2026/02/15-11:16:48.527453 480749 kCustomCompression8F supported: 0 +2026/02/15-11:16:48.527453 480749 kCustomCompression8A supported: 0 +2026/02/15-11:16:48.527454 480749 kCustomCompression9B supported: 0 +2026/02/15-11:16:48.527454 480749 kZSTD supported: 1 +2026/02/15-11:16:48.527455 480749 kCustomCompressionAA supported: 0 +2026/02/15-11:16:48.527456 480749 kCustomCompressionA2 supported: 0 +2026/02/15-11:16:48.527456 480749 kZlibCompression supported: 1 +2026/02/15-11:16:48.527457 480749 kXpressCompression supported: 0 +2026/02/15-11:16:48.527458 480749 kCustomCompressionFD supported: 0 +2026/02/15-11:16:48.527458 480749 kCustomCompressionE2 supported: 0 +2026/02/15-11:16:48.527459 480749 kLZ4HCCompression supported: 1 +2026/02/15-11:16:48.527459 480749 kCustomCompressionA6 supported: 0 +2026/02/15-11:16:48.527460 480749 kCustomCompression85 supported: 0 +2026/02/15-11:16:48.527461 480749 kCustomCompressionA4 supported: 0 +2026/02/15-11:16:48.527461 480749 kCustomCompression86 supported: 0 +2026/02/15-11:16:48.527463 480749 kCustomCompression83 supported: 0 +2026/02/15-11:16:48.527463 480749 kCustomCompression87 supported: 0 +2026/02/15-11:16:48.527464 480749 kCustomCompression89 supported: 0 +2026/02/15-11:16:48.527465 480749 kCustomCompression8C supported: 0 +2026/02/15-11:16:48.527465 480749 kCustomCompressionDB supported: 0 +2026/02/15-11:16:48.527466 480749 kCustomCompressionF3 supported: 0 +2026/02/15-11:16:48.527467 480749 kCustomCompressionE6 supported: 0 +2026/02/15-11:16:48.527467 480749 kCustomCompression8E supported: 0 +2026/02/15-11:16:48.527468 480749 kCustomCompressionDA supported: 0 +2026/02/15-11:16:48.527468 480749 kCustomCompression93 supported: 0 +2026/02/15-11:16:48.527469 480749 kCustomCompression94 supported: 0 +2026/02/15-11:16:48.527470 480749 kCustomCompression9E supported: 0 +2026/02/15-11:16:48.527470 480749 kCustomCompressionB4 supported: 0 +2026/02/15-11:16:48.527471 480749 kCustomCompressionFB supported: 0 +2026/02/15-11:16:48.527472 480749 kCustomCompressionB5 supported: 0 +2026/02/15-11:16:48.527472 480749 kCustomCompressionD5 supported: 0 +2026/02/15-11:16:48.527473 480749 kCustomCompressionB8 supported: 0 +2026/02/15-11:16:48.527473 480749 kCustomCompressionD1 supported: 0 +2026/02/15-11:16:48.527474 480749 kCustomCompressionBA supported: 0 +2026/02/15-11:16:48.527475 480749 kCustomCompressionBC supported: 0 +2026/02/15-11:16:48.527475 480749 kCustomCompressionCE supported: 0 +2026/02/15-11:16:48.527476 480749 kCustomCompressionBD supported: 0 +2026/02/15-11:16:48.527477 480749 kCustomCompressionC4 supported: 0 +2026/02/15-11:16:48.527477 480749 kCustomCompression9A supported: 0 +2026/02/15-11:16:48.527478 480749 kCustomCompression99 supported: 0 +2026/02/15-11:16:48.527478 480749 kCustomCompressionBE supported: 0 +2026/02/15-11:16:48.527479 480749 kCustomCompressionE5 supported: 0 +2026/02/15-11:16:48.527480 480749 kCustomCompressionD9 supported: 0 +2026/02/15-11:16:48.527480 480749 kCustomCompressionC1 supported: 0 +2026/02/15-11:16:48.527481 480749 kCustomCompressionC5 supported: 0 +2026/02/15-11:16:48.527482 480749 kCustomCompressionC2 supported: 0 +2026/02/15-11:16:48.527482 480749 kCustomCompressionA5 supported: 0 +2026/02/15-11:16:48.527483 480749 kCustomCompressionC7 supported: 0 +2026/02/15-11:16:48.527484 480749 kCustomCompressionBF supported: 0 +2026/02/15-11:16:48.527484 480749 kCustomCompressionE8 supported: 0 +2026/02/15-11:16:48.527485 480749 kCustomCompressionC8 supported: 0 +2026/02/15-11:16:48.527485 480749 kCustomCompressionAF supported: 0 +2026/02/15-11:16:48.527486 480749 kCustomCompressionCA supported: 0 +2026/02/15-11:16:48.527487 480749 kCustomCompressionCD supported: 0 +2026/02/15-11:16:48.527487 480749 kCustomCompressionC0 supported: 0 +2026/02/15-11:16:48.527488 480749 kCustomCompressionCF supported: 0 +2026/02/15-11:16:48.527489 480749 kCustomCompressionF9 supported: 0 +2026/02/15-11:16:48.527489 480749 kCustomCompressionD0 supported: 0 +2026/02/15-11:16:48.527490 480749 kCustomCompressionD2 supported: 0 +2026/02/15-11:16:48.527490 480749 kCustomCompressionAD supported: 0 +2026/02/15-11:16:48.527491 480749 kCustomCompressionD3 supported: 0 +2026/02/15-11:16:48.527492 480749 kCustomCompressionD4 supported: 0 +2026/02/15-11:16:48.527492 480749 kCustomCompressionD7 supported: 0 +2026/02/15-11:16:48.527493 480749 kCustomCompression82 supported: 0 +2026/02/15-11:16:48.527493 480749 kCustomCompressionDD supported: 0 +2026/02/15-11:16:48.527494 480749 kCustomCompressionC3 supported: 0 +2026/02/15-11:16:48.527495 480749 kCustomCompressionEE supported: 0 +2026/02/15-11:16:48.527495 480749 kCustomCompressionDE supported: 0 +2026/02/15-11:16:48.527496 480749 kCustomCompressionDF supported: 0 +2026/02/15-11:16:48.527497 480749 kCustomCompressionA7 supported: 0 +2026/02/15-11:16:48.527497 480749 kCustomCompressionE0 supported: 0 +2026/02/15-11:16:48.527498 480749 kCustomCompressionF1 supported: 0 +2026/02/15-11:16:48.527499 480749 kCustomCompressionE1 supported: 0 +2026/02/15-11:16:48.527499 480749 kCustomCompressionF5 supported: 0 +2026/02/15-11:16:48.527501 480749 kCustomCompression80 supported: 0 +2026/02/15-11:16:48.527501 480749 kCustomCompressionE3 supported: 0 +2026/02/15-11:16:48.527502 480749 kCustomCompressionE4 supported: 0 +2026/02/15-11:16:48.527503 480749 kCustomCompressionB0 supported: 0 +2026/02/15-11:16:48.527503 480749 kCustomCompressionEA supported: 0 +2026/02/15-11:16:48.527504 480749 kCustomCompressionFA supported: 0 +2026/02/15-11:16:48.527505 480749 kCustomCompressionE7 supported: 0 +2026/02/15-11:16:48.527505 480749 kCustomCompressionAE supported: 0 +2026/02/15-11:16:48.527506 480749 kCustomCompressionEB supported: 0 +2026/02/15-11:16:48.527507 480749 kCustomCompressionED supported: 0 +2026/02/15-11:16:48.527507 480749 kCustomCompressionB6 supported: 0 +2026/02/15-11:16:48.527508 480749 kCustomCompressionEF supported: 0 +2026/02/15-11:16:48.527508 480749 kCustomCompressionF0 supported: 0 +2026/02/15-11:16:48.527509 480749 kCustomCompressionB7 supported: 0 +2026/02/15-11:16:48.527510 480749 kCustomCompressionF2 supported: 0 +2026/02/15-11:16:48.527510 480749 kCustomCompressionA1 supported: 0 +2026/02/15-11:16:48.527511 480749 kCustomCompressionF4 supported: 0 +2026/02/15-11:16:48.527511 480749 kSnappyCompression supported: 1 +2026/02/15-11:16:48.527512 480749 kCustomCompressionF6 supported: 0 +2026/02/15-11:16:48.527513 480749 Fast CRC32 supported: Not supported on x86 +2026/02/15-11:16:48.527514 480749 DMutex implementation: pthread_mutex_t +2026/02/15-11:16:48.527514 480749 Jemalloc supported: 0 +2026/02/15-11:16:48.527635 480749 [db/version_set.cc:6460] Recovering from manifest file: ./data/MANIFEST-000005 +2026/02/15-11:16:48.527723 480749 [db/column_family.cc:691] --------------- Options for column family [default]: +2026/02/15-11:16:48.527728 480749 Options.comparator: leveldb.BytewiseComparator +2026/02/15-11:16:48.527729 480749 Options.merge_operator: None +2026/02/15-11:16:48.527729 480749 Options.compaction_filter: None +2026/02/15-11:16:48.527730 480749 Options.compaction_filter_factory: None +2026/02/15-11:16:48.527731 480749 Options.sst_partitioner_factory: None +2026/02/15-11:16:48.527731 480749 Options.memtable_factory: SkipListFactory +2026/02/15-11:16:48.527732 480749 Options.table_factory: BlockBasedTable +2026/02/15-11:16:48.527744 480749 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (0x3eb50de0) cache_index_and_filter_blocks: 0 cache_index_and_filter_blocks_with_high_priority: 1 pin_l0_filter_and_index_blocks_in_cache: 0 @@ -255,7 +257,7 @@ data_block_hash_table_util_ratio: 0.750000 checksum: 4 no_block_cache: 0 - block_cache: 0x3a7878e0 + block_cache: 0x3eb4a8e0 block_cache_name: AutoHyperClockCache block_cache_options: capacity : 33554432 @@ -285,120 +287,126 @@ prepopulate_block_cache: 0 initial_auto_readahead_size: 8192 num_file_reads_for_auto_readahead: 2 -2026/02/15-08:54:06.528036 414231 Options.write_buffer_size: 134217728 -2026/02/15-08:54:06.528037 414231 Options.max_write_buffer_number: 6 -2026/02/15-08:54:06.528057 414231 Options.compression[0]: NoCompression -2026/02/15-08:54:06.528058 414231 Options.compression[1]: NoCompression -2026/02/15-08:54:06.528059 414231 Options.compression[2]: LZ4 -2026/02/15-08:54:06.528059 414231 Options.compression[3]: LZ4 -2026/02/15-08:54:06.528060 414231 Options.compression[4]: LZ4 -2026/02/15-08:54:06.528060 414231 Options.compression[5]: LZ4 -2026/02/15-08:54:06.528061 414231 Options.compression[6]: LZ4 -2026/02/15-08:54:06.528063 414231 Options.bottommost_compression: Disabled -2026/02/15-08:54:06.528064 414231 Options.prefix_extractor: nullptr -2026/02/15-08:54:06.528064 414231 Options.memtable_insert_with_hint_prefix_extractor: nullptr -2026/02/15-08:54:06.528065 414231 Options.num_levels: 7 -2026/02/15-08:54:06.528065 414231 Options.min_write_buffer_number_to_merge: 2 -2026/02/15-08:54:06.528066 414231 Options.max_write_buffer_size_to_maintain: 0 -2026/02/15-08:54:06.528067 414231 Options.bottommost_compression_opts.window_bits: -14 -2026/02/15-08:54:06.528067 414231 Options.bottommost_compression_opts.level: 32767 -2026/02/15-08:54:06.528068 414231 Options.bottommost_compression_opts.strategy: 0 -2026/02/15-08:54:06.528069 414231 Options.bottommost_compression_opts.max_dict_bytes: 0 -2026/02/15-08:54:06.528069 414231 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 -2026/02/15-08:54:06.528070 414231 Options.bottommost_compression_opts.parallel_threads: 1 -2026/02/15-08:54:06.528071 414231 Options.bottommost_compression_opts.enabled: false -2026/02/15-08:54:06.528071 414231 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 -2026/02/15-08:54:06.528072 414231 Options.bottommost_compression_opts.use_zstd_dict_trainer: true -2026/02/15-08:54:06.528073 414231 Options.compression_opts.window_bits: -14 -2026/02/15-08:54:06.528073 414231 Options.compression_opts.level: 32767 -2026/02/15-08:54:06.528074 414231 Options.compression_opts.strategy: 0 -2026/02/15-08:54:06.528075 414231 Options.compression_opts.max_dict_bytes: 0 -2026/02/15-08:54:06.528075 414231 Options.compression_opts.zstd_max_train_bytes: 0 -2026/02/15-08:54:06.528076 414231 Options.compression_opts.use_zstd_dict_trainer: true -2026/02/15-08:54:06.528077 414231 Options.compression_opts.parallel_threads: 1 -2026/02/15-08:54:06.528077 414231 Options.compression_opts.enabled: false -2026/02/15-08:54:06.528078 414231 Options.compression_opts.max_dict_buffer_bytes: 0 -2026/02/15-08:54:06.528079 414231 Options.level0_file_num_compaction_trigger: 2 -2026/02/15-08:54:06.528079 414231 Options.level0_slowdown_writes_trigger: 20 -2026/02/15-08:54:06.528080 414231 Options.level0_stop_writes_trigger: 36 -2026/02/15-08:54:06.528081 414231 Options.target_file_size_base: 67108864 -2026/02/15-08:54:06.528081 414231 Options.target_file_size_multiplier: 1 -2026/02/15-08:54:06.528082 414231 Options.target_file_size_is_upper_bound: 0 -2026/02/15-08:54:06.528083 414231 Options.max_bytes_for_level_base: 536870912 -2026/02/15-08:54:06.528083 414231 Options.level_compaction_dynamic_level_bytes: 1 -2026/02/15-08:54:06.528084 414231 Options.max_bytes_for_level_multiplier: 10.000000 -2026/02/15-08:54:06.528085 414231 Options.max_bytes_for_level_multiplier_addtl[0]: 1 -2026/02/15-08:54:06.528086 414231 Options.max_bytes_for_level_multiplier_addtl[1]: 1 -2026/02/15-08:54:06.528087 414231 Options.max_bytes_for_level_multiplier_addtl[2]: 1 -2026/02/15-08:54:06.528088 414231 Options.max_bytes_for_level_multiplier_addtl[3]: 1 -2026/02/15-08:54:06.528088 414231 Options.max_bytes_for_level_multiplier_addtl[4]: 1 -2026/02/15-08:54:06.528089 414231 Options.max_bytes_for_level_multiplier_addtl[5]: 1 -2026/02/15-08:54:06.528089 414231 Options.max_bytes_for_level_multiplier_addtl[6]: 1 -2026/02/15-08:54:06.528090 414231 Options.max_sequential_skip_in_iterations: 8 -2026/02/15-08:54:06.528091 414231 Options.memtable_op_scan_flush_trigger: 0 -2026/02/15-08:54:06.528091 414231 Options.memtable_avg_op_scan_flush_trigger: 0 -2026/02/15-08:54:06.528092 414231 Options.max_compaction_bytes: 1677721600 -2026/02/15-08:54:06.528093 414231 Options.arena_block_size: 1048576 -2026/02/15-08:54:06.528093 414231 Options.soft_pending_compaction_bytes_limit: 68719476736 -2026/02/15-08:54:06.528095 414231 Options.hard_pending_compaction_bytes_limit: 274877906944 -2026/02/15-08:54:06.528095 414231 Options.disable_auto_compactions: 0 -2026/02/15-08:54:06.528097 414231 Options.compaction_style: kCompactionStyleLevel -2026/02/15-08:54:06.528098 414231 Options.compaction_pri: kMinOverlappingRatio -2026/02/15-08:54:06.528098 414231 Options.compaction_options_universal.size_ratio: 1 -2026/02/15-08:54:06.528099 414231 Options.compaction_options_universal.min_merge_width: 2 -2026/02/15-08:54:06.528100 414231 Options.compaction_options_universal.max_merge_width: 4294967295 -2026/02/15-08:54:06.528100 414231 Options.compaction_options_universal.max_size_amplification_percent: 200 -2026/02/15-08:54:06.528101 414231 Options.compaction_options_universal.compression_size_percent: -1 -2026/02/15-08:54:06.528102 414231 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize -2026/02/15-08:54:06.528102 414231 Options.compaction_options_universal.max_read_amp: -1 -2026/02/15-08:54:06.528103 414231 Options.compaction_options_universal.reduce_file_locking: 0 -2026/02/15-08:54:06.528104 414231 Options.compaction_options_fifo.max_table_files_size: 1073741824 -2026/02/15-08:54:06.528104 414231 Options.compaction_options_fifo.allow_compaction: 0 -2026/02/15-08:54:06.528109 414231 Options.table_properties_collectors: -2026/02/15-08:54:06.528110 414231 Options.inplace_update_support: 0 -2026/02/15-08:54:06.528111 414231 Options.inplace_update_num_locks: 10000 -2026/02/15-08:54:06.528112 414231 Options.memtable_prefix_bloom_size_ratio: 0.000000 -2026/02/15-08:54:06.528112 414231 Options.memtable_whole_key_filtering: 0 -2026/02/15-08:54:06.528113 414231 Options.memtable_huge_page_size: 0 -2026/02/15-08:54:06.528114 414231 Options.bloom_locality: 0 -2026/02/15-08:54:06.528114 414231 Options.max_successive_merges: 0 -2026/02/15-08:54:06.528115 414231 Options.strict_max_successive_merges: 0 -2026/02/15-08:54:06.528116 414231 Options.optimize_filters_for_hits: 0 -2026/02/15-08:54:06.528116 414231 Options.paranoid_file_checks: 0 -2026/02/15-08:54:06.528117 414231 Options.force_consistency_checks: 1 -2026/02/15-08:54:06.528118 414231 Options.report_bg_io_stats: 0 -2026/02/15-08:54:06.528118 414231 Options.disallow_memtable_writes: 0 -2026/02/15-08:54:06.528119 414231 Options.ttl: 2592000 -2026/02/15-08:54:06.528119 414231 Options.periodic_compaction_seconds: 0 -2026/02/15-08:54:06.528120 414231 Options.default_temperature: kUnknown -2026/02/15-08:54:06.528121 414231 Options.preclude_last_level_data_seconds: 0 -2026/02/15-08:54:06.528122 414231 Options.preserve_internal_time_seconds: 0 -2026/02/15-08:54:06.528122 414231 Options.enable_blob_files: false -2026/02/15-08:54:06.528123 414231 Options.min_blob_size: 0 -2026/02/15-08:54:06.528123 414231 Options.blob_file_size: 268435456 -2026/02/15-08:54:06.528124 414231 Options.blob_compression_type: NoCompression -2026/02/15-08:54:06.528125 414231 Options.enable_blob_garbage_collection: false -2026/02/15-08:54:06.528125 414231 Options.blob_garbage_collection_age_cutoff: 0.250000 -2026/02/15-08:54:06.528126 414231 Options.blob_garbage_collection_force_threshold: 1.000000 -2026/02/15-08:54:06.528127 414231 Options.blob_compaction_readahead_size: 0 -2026/02/15-08:54:06.528128 414231 Options.blob_file_starting_level: 0 -2026/02/15-08:54:06.528128 414231 Options.experimental_mempurge_threshold: 0.000000 -2026/02/15-08:54:06.528129 414231 Options.memtable_max_range_deletions: 0 -2026/02/15-08:54:06.528130 414231 Options.cf_allow_ingest_behind: false -2026/02/15-08:54:06.529411 414231 [db/version_set.cc:6510] Recovered from manifest file:./data/MANIFEST-000001 succeeded,manifest_file_number is 1, next_file_number is 3, last_sequence is 0, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 -2026/02/15-08:54:06.529414 414231 [db/version_set.cc:6525] Column family [default] (ID 0), log number is 0 -2026/02/15-08:54:06.529415 414231 [db/db_impl/db_impl_open.cc:686] DB ID: 8dff41c8-9c17-41a7-bcc0-29dc39228555 -2026/02/15-08:54:06.537957 414231 [db/version_set.cc:6070] Created manifest 5, compacted+appended from 52 to 116 -2026/02/15-08:54:06.547313 414231 [db/db_impl/db_impl_open.cc:2626] SstFileManager instance 0x3a78f5b0 -2026/02/15-08:54:06.547637 414231 [DEBUG] [db/db_impl/db_impl_files.cc:389] [JOB 1] Delete ./data/MANIFEST-000001 type=3 #1 -- OK -2026/02/15-08:54:06.547650 414231 DB pointer 0x3a7903c0 -2026/02/15-08:54:06.547993 414252 [DEBUG] [cache/clock_cache.cc:1568] Slot occupancy stats: Overall 1% (1/64), Min/Max/Window = 100%/0%/500, MaxRun{Pos/Neg} = 1/56 -2026/02/15-08:54:06.547995 414252 [DEBUG] [cache/clock_cache.cc:1570] Eviction effort exceeded: 0 -2026/02/15-08:54:06.548022 414252 [DEBUG] [cache/clock_cache.cc:3639] Head occupancy stats: Overall 1% (1/64), Min/Max/Window = 100%/0%/500, MaxRun{Pos/Neg} = 1/56 -2026/02/15-08:54:06.548023 414252 [DEBUG] [cache/clock_cache.cc:3641] Entries at home count: 1 -2026/02/15-08:54:06.548024 414252 [DEBUG] [cache/clock_cache.cc:3643] Yield count: 0 -2026/02/15-08:54:06.548796 414252 [db/db_impl/db_impl.cc:1116] ------- DUMPING STATS ------- -2026/02/15-08:54:06.548802 414252 [db/db_impl/db_impl.cc:1118] +2026/02/15-11:16:48.527750 480749 Options.write_buffer_size: 134217728 +2026/02/15-11:16:48.527751 480749 Options.max_write_buffer_number: 6 +2026/02/15-11:16:48.527752 480749 Options.compression[0]: NoCompression +2026/02/15-11:16:48.527753 480749 Options.compression[1]: NoCompression +2026/02/15-11:16:48.527753 480749 Options.compression[2]: LZ4 +2026/02/15-11:16:48.527754 480749 Options.compression[3]: LZ4 +2026/02/15-11:16:48.527755 480749 Options.compression[4]: LZ4 +2026/02/15-11:16:48.527756 480749 Options.compression[5]: LZ4 +2026/02/15-11:16:48.527757 480749 Options.compression[6]: LZ4 +2026/02/15-11:16:48.527758 480749 Options.bottommost_compression: Disabled +2026/02/15-11:16:48.527758 480749 Options.prefix_extractor: nullptr +2026/02/15-11:16:48.527759 480749 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2026/02/15-11:16:48.527760 480749 Options.num_levels: 7 +2026/02/15-11:16:48.527760 480749 Options.min_write_buffer_number_to_merge: 2 +2026/02/15-11:16:48.527761 480749 Options.max_write_buffer_size_to_maintain: 0 +2026/02/15-11:16:48.527762 480749 Options.bottommost_compression_opts.window_bits: -14 +2026/02/15-11:16:48.527762 480749 Options.bottommost_compression_opts.level: 32767 +2026/02/15-11:16:48.527763 480749 Options.bottommost_compression_opts.strategy: 0 +2026/02/15-11:16:48.527764 480749 Options.bottommost_compression_opts.max_dict_bytes: 0 +2026/02/15-11:16:48.527764 480749 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2026/02/15-11:16:48.527765 480749 Options.bottommost_compression_opts.parallel_threads: 1 +2026/02/15-11:16:48.527766 480749 Options.bottommost_compression_opts.enabled: false +2026/02/15-11:16:48.527766 480749 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2026/02/15-11:16:48.527767 480749 Options.bottommost_compression_opts.use_zstd_dict_trainer: true +2026/02/15-11:16:48.527768 480749 Options.compression_opts.window_bits: -14 +2026/02/15-11:16:48.527768 480749 Options.compression_opts.level: 32767 +2026/02/15-11:16:48.527769 480749 Options.compression_opts.strategy: 0 +2026/02/15-11:16:48.527770 480749 Options.compression_opts.max_dict_bytes: 0 +2026/02/15-11:16:48.527770 480749 Options.compression_opts.zstd_max_train_bytes: 0 +2026/02/15-11:16:48.527771 480749 Options.compression_opts.use_zstd_dict_trainer: true +2026/02/15-11:16:48.527772 480749 Options.compression_opts.parallel_threads: 1 +2026/02/15-11:16:48.527772 480749 Options.compression_opts.enabled: false +2026/02/15-11:16:48.527773 480749 Options.compression_opts.max_dict_buffer_bytes: 0 +2026/02/15-11:16:48.527774 480749 Options.level0_file_num_compaction_trigger: 2 +2026/02/15-11:16:48.527774 480749 Options.level0_slowdown_writes_trigger: 20 +2026/02/15-11:16:48.527775 480749 Options.level0_stop_writes_trigger: 36 +2026/02/15-11:16:48.527776 480749 Options.target_file_size_base: 67108864 +2026/02/15-11:16:48.527776 480749 Options.target_file_size_multiplier: 1 +2026/02/15-11:16:48.527777 480749 Options.target_file_size_is_upper_bound: 0 +2026/02/15-11:16:48.527778 480749 Options.max_bytes_for_level_base: 536870912 +2026/02/15-11:16:48.527778 480749 Options.level_compaction_dynamic_level_bytes: 1 +2026/02/15-11:16:48.527779 480749 Options.max_bytes_for_level_multiplier: 10.000000 +2026/02/15-11:16:48.527780 480749 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2026/02/15-11:16:48.527781 480749 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2026/02/15-11:16:48.527782 480749 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2026/02/15-11:16:48.527782 480749 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2026/02/15-11:16:48.527783 480749 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2026/02/15-11:16:48.527784 480749 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2026/02/15-11:16:48.527784 480749 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2026/02/15-11:16:48.527785 480749 Options.max_sequential_skip_in_iterations: 8 +2026/02/15-11:16:48.527786 480749 Options.memtable_op_scan_flush_trigger: 0 +2026/02/15-11:16:48.527786 480749 Options.memtable_avg_op_scan_flush_trigger: 0 +2026/02/15-11:16:48.527787 480749 Options.max_compaction_bytes: 1677721600 +2026/02/15-11:16:48.527788 480749 Options.arena_block_size: 1048576 +2026/02/15-11:16:48.527789 480749 Options.soft_pending_compaction_bytes_limit: 68719476736 +2026/02/15-11:16:48.527790 480749 Options.hard_pending_compaction_bytes_limit: 274877906944 +2026/02/15-11:16:48.527790 480749 Options.disable_auto_compactions: 0 +2026/02/15-11:16:48.527791 480749 Options.compaction_style: kCompactionStyleLevel +2026/02/15-11:16:48.527792 480749 Options.compaction_pri: kMinOverlappingRatio +2026/02/15-11:16:48.527793 480749 Options.compaction_options_universal.size_ratio: 1 +2026/02/15-11:16:48.527793 480749 Options.compaction_options_universal.min_merge_width: 2 +2026/02/15-11:16:48.527794 480749 Options.compaction_options_universal.max_merge_width: 4294967295 +2026/02/15-11:16:48.527795 480749 Options.compaction_options_universal.max_size_amplification_percent: 200 +2026/02/15-11:16:48.527795 480749 Options.compaction_options_universal.compression_size_percent: -1 +2026/02/15-11:16:48.527796 480749 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2026/02/15-11:16:48.527797 480749 Options.compaction_options_universal.max_read_amp: -1 +2026/02/15-11:16:48.527798 480749 Options.compaction_options_universal.reduce_file_locking: 0 +2026/02/15-11:16:48.527798 480749 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2026/02/15-11:16:48.527799 480749 Options.compaction_options_fifo.allow_compaction: 0 +2026/02/15-11:16:48.527802 480749 Options.table_properties_collectors: +2026/02/15-11:16:48.527803 480749 Options.inplace_update_support: 0 +2026/02/15-11:16:48.527803 480749 Options.inplace_update_num_locks: 10000 +2026/02/15-11:16:48.527804 480749 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2026/02/15-11:16:48.527805 480749 Options.memtable_whole_key_filtering: 0 +2026/02/15-11:16:48.527805 480749 Options.memtable_huge_page_size: 0 +2026/02/15-11:16:48.527806 480749 Options.bloom_locality: 0 +2026/02/15-11:16:48.527807 480749 Options.max_successive_merges: 0 +2026/02/15-11:16:48.527807 480749 Options.strict_max_successive_merges: 0 +2026/02/15-11:16:48.527808 480749 Options.optimize_filters_for_hits: 0 +2026/02/15-11:16:48.527809 480749 Options.paranoid_file_checks: 0 +2026/02/15-11:16:48.527809 480749 Options.force_consistency_checks: 1 +2026/02/15-11:16:48.527810 480749 Options.report_bg_io_stats: 0 +2026/02/15-11:16:48.527811 480749 Options.disallow_memtable_writes: 0 +2026/02/15-11:16:48.527811 480749 Options.ttl: 2592000 +2026/02/15-11:16:48.527812 480749 Options.periodic_compaction_seconds: 0 +2026/02/15-11:16:48.527813 480749 Options.default_temperature: kUnknown +2026/02/15-11:16:48.527813 480749 Options.preclude_last_level_data_seconds: 0 +2026/02/15-11:16:48.527814 480749 Options.preserve_internal_time_seconds: 0 +2026/02/15-11:16:48.527815 480749 Options.enable_blob_files: false +2026/02/15-11:16:48.527815 480749 Options.min_blob_size: 0 +2026/02/15-11:16:48.527816 480749 Options.blob_file_size: 268435456 +2026/02/15-11:16:48.527817 480749 Options.blob_compression_type: NoCompression +2026/02/15-11:16:48.527817 480749 Options.enable_blob_garbage_collection: false +2026/02/15-11:16:48.527818 480749 Options.blob_garbage_collection_age_cutoff: 0.250000 +2026/02/15-11:16:48.527819 480749 Options.blob_garbage_collection_force_threshold: 1.000000 +2026/02/15-11:16:48.527819 480749 Options.blob_compaction_readahead_size: 0 +2026/02/15-11:16:48.527820 480749 Options.blob_file_starting_level: 0 +2026/02/15-11:16:48.527821 480749 Options.experimental_mempurge_threshold: 0.000000 +2026/02/15-11:16:48.527822 480749 Options.memtable_max_range_deletions: 0 +2026/02/15-11:16:48.527823 480749 Options.cf_allow_ingest_behind: false +2026/02/15-11:16:48.528357 480749 [db/version_set.cc:6510] Recovered from manifest file:./data/MANIFEST-000005 succeeded,manifest_file_number is 5, next_file_number is 7, last_sequence is 0, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2026/02/15-11:16:48.528360 480749 [db/version_set.cc:6525] Column family [default] (ID 0), log number is 0 +2026/02/15-11:16:48.528460 480749 [db/db_impl/db_impl_open.cc:686] DB ID: 8dff41c8-9c17-41a7-bcc0-29dc39228555 +2026/02/15-11:16:48.528500 480749 EVENT_LOG_v1 {"time_micros": 1771172208528494, "job": 1, "event": "recovery_started", "wal_files": [4]} +2026/02/15-11:16:48.528505 480749 [db/db_impl/db_impl_open.cc:1368] Recovering log #4 mode 2 +2026/02/15-11:16:48.528517 480749 [db/db_impl/db_impl_open.cc:1342] Recovered to log #4 next seq #72057594037927935 +2026/02/15-11:16:48.528701 480749 EVENT_LOG_v1 {"time_micros": 1771172208528699, "job": 1, "event": "recovery_finished", "status": "OK"} +2026/02/15-11:16:48.535458 480749 [db/version_set.cc:6070] Created manifest 9, compacted+appended from 116 to 159 +2026/02/15-11:16:48.540144 480749 [db/db_impl/db_impl_open.cc:2626] SstFileManager instance 0x3eb525b0 +2026/02/15-11:16:48.540185 480749 [file/delete_scheduler.cc:71] Deleted file ./data/000004.log immediately, rate_bytes_per_sec 0, total_trash_size 0, total_size 0, max_trash_db_ratio 0.250000 +2026/02/15-11:16:48.540188 480749 [DEBUG] [db/db_impl/db_impl_files.cc:389] [JOB 2] Delete ./data/000004.log type=0 #4 -- OK +2026/02/15-11:16:48.540209 480749 [DEBUG] [db/db_impl/db_impl_files.cc:389] [JOB 2] Delete ./data/MANIFEST-000005 type=3 #5 -- OK +2026/02/15-11:16:48.540218 480749 DB pointer 0x3eb533c0 +2026/02/15-11:16:48.540288 480770 [DEBUG] [cache/clock_cache.cc:1568] Slot occupancy stats: Overall 1% (1/64), Min/Max/Window = 100%/0%/500, MaxRun{Pos/Neg} = 1/56 +2026/02/15-11:16:48.540291 480770 [DEBUG] [cache/clock_cache.cc:1570] Eviction effort exceeded: 0 +2026/02/15-11:16:48.540293 480770 [DEBUG] [cache/clock_cache.cc:3639] Head occupancy stats: Overall 1% (1/64), Min/Max/Window = 100%/0%/500, MaxRun{Pos/Neg} = 1/56 +2026/02/15-11:16:48.540294 480770 [DEBUG] [cache/clock_cache.cc:3641] Entries at home count: 1 +2026/02/15-11:16:48.540295 480770 [DEBUG] [cache/clock_cache.cc:3643] Yield count: 0 +2026/02/15-11:16:48.540348 480770 [db/db_impl/db_impl.cc:1116] ------- DUMPING STATS ------- +2026/02/15-11:16:48.540351 480770 [db/db_impl/db_impl.cc:1118] ** DB Stats ** Uptime(secs): 0.0 total, 0.0 interval Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s @@ -431,7 +439,7 @@ Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s r Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds Estimated pending compaction bytes: 0 Write Stall (count): cf-l0-file-count-limit-delays-with-ongoing-compaction: 0, cf-l0-file-count-limit-stops-with-ongoing-compaction: 0, l0-file-count-limit-delays: 0, l0-file-count-limit-stops: 0, memtable-limit-delays: 0, memtable-limit-stops: 0, pending-compaction-bytes-delays: 0, pending-compaction-bytes-stops: 0, total-delays: 0, total-stops: 0 -Block cache AutoHyperClockCache@0x3a7878e0#414231 capacity: 32.00 MB seed: 585643374 usage: 4.00 KB table_size: 64 occupancy: 1 collections: 1 last_copies: 0 last_secs: 1.3e-05 secs_since: 0 +Block cache AutoHyperClockCache@0x3eb4a8e0#480749 capacity: 32.00 MB seed: 585643374 usage: 4.00 KB table_size: 64 occupancy: 1 collections: 1 last_copies: 0 last_secs: 6e-06 secs_since: 0 Block cache entry stats(count,size,portion): Misc(1,0.00 KB,0%) ** File Read Latency Histogram By Level [default] ** diff --git a/data/LOG.old.1771172208527129 b/data/LOG.old.1771172208527129 new file mode 100644 index 0000000..9cf34be --- /dev/null +++ b/data/LOG.old.1771172208527129 @@ -0,0 +1,437 @@ +2026/02/15-08:54:06.511816 414231 RocksDB version: 10.9.1 +2026/02/15-08:54:06.511863 414231 Git sha 5fbc1cd5bcf63782675168b98e114151490de6d9 +2026/02/15-08:54:06.511865 414231 Compile date 2026-01-06 12:13:12 +2026/02/15-08:54:06.511866 414231 DB SUMMARY +2026/02/15-08:54:06.511867 414231 Host name (Env): arch +2026/02/15-08:54:06.511868 414231 DB Session ID: Q7XLE4A3DKSF5H391J6S +2026/02/15-08:54:06.511889 414231 SST files in ./data dir, Total Num: 0, files: +2026/02/15-08:54:06.511893 414231 Write Ahead Log file in ./data: +2026/02/15-08:54:06.511894 414231 Options.error_if_exists: 0 +2026/02/15-08:54:06.511895 414231 Options.create_if_missing: 1 +2026/02/15-08:54:06.511896 414231 Options.paranoid_checks: 1 +2026/02/15-08:54:06.511896 414231 Options.flush_verify_memtable_count: 1 +2026/02/15-08:54:06.511897 414231 Options.compaction_verify_record_count: 1 +2026/02/15-08:54:06.511898 414231 Options.track_and_verify_wals_in_manifest: 0 +2026/02/15-08:54:06.511898 414231 Options.track_and_verify_wals: 0 +2026/02/15-08:54:06.511899 414231 Options.verify_sst_unique_id_in_manifest: 1 +2026/02/15-08:54:06.511900 414231 Options.env: 0x3a7859c0 +2026/02/15-08:54:06.511900 414231 Options.fs: PosixFileSystem +2026/02/15-08:54:06.511901 414231 Options.info_log: 0x3a78ff90 +2026/02/15-08:54:06.511902 414231 Options.max_file_opening_threads: 16 +2026/02/15-08:54:06.511902 414231 Options.statistics: (nil) +2026/02/15-08:54:06.511904 414231 Options.use_fsync: 0 +2026/02/15-08:54:06.511904 414231 Options.max_log_file_size: 0 +2026/02/15-08:54:06.511905 414231 Options.log_file_time_to_roll: 0 +2026/02/15-08:54:06.511905 414231 Options.keep_log_file_num: 1000 +2026/02/15-08:54:06.511906 414231 Options.recycle_log_file_num: 0 +2026/02/15-08:54:06.511907 414231 Options.allow_fallocate: 1 +2026/02/15-08:54:06.511907 414231 Options.allow_mmap_reads: 0 +2026/02/15-08:54:06.511908 414231 Options.allow_mmap_writes: 0 +2026/02/15-08:54:06.511909 414231 Options.use_direct_reads: 0 +2026/02/15-08:54:06.511909 414231 Options.use_direct_io_for_flush_and_compaction: 0 +2026/02/15-08:54:06.511910 414231 Options.create_missing_column_families: 0 +2026/02/15-08:54:06.511910 414231 Options.db_log_dir: +2026/02/15-08:54:06.511911 414231 Options.wal_dir: +2026/02/15-08:54:06.511912 414231 Options.table_cache_numshardbits: 6 +2026/02/15-08:54:06.511912 414231 Options.WAL_ttl_seconds: 0 +2026/02/15-08:54:06.511913 414231 Options.WAL_size_limit_MB: 0 +2026/02/15-08:54:06.511914 414231 Options.max_write_batch_group_size_bytes: 1048576 +2026/02/15-08:54:06.511914 414231 Options.is_fd_close_on_exec: 1 +2026/02/15-08:54:06.511915 414231 Options.advise_random_on_open: 1 +2026/02/15-08:54:06.511915 414231 Options.db_write_buffer_size: 0 +2026/02/15-08:54:06.511916 414231 Options.write_buffer_manager: 0x3a790180 +2026/02/15-08:54:06.511917 414231 Options.use_adaptive_mutex: 0 +2026/02/15-08:54:06.511917 414231 Options.rate_limiter: (nil) +2026/02/15-08:54:06.511918 414231 Options.sst_file_manager.rate_bytes_per_sec: 0 +2026/02/15-08:54:06.511919 414231 Options.wal_recovery_mode: 2 +2026/02/15-08:54:06.511919 414231 Options.enable_thread_tracking: 0 +2026/02/15-08:54:06.511920 414231 Options.enable_pipelined_write: 0 +2026/02/15-08:54:06.511921 414231 Options.unordered_write: 0 +2026/02/15-08:54:06.511921 414231 Options.allow_concurrent_memtable_write: 1 +2026/02/15-08:54:06.511923 414231 Options.enable_write_thread_adaptive_yield: 1 +2026/02/15-08:54:06.511924 414231 Options.write_thread_max_yield_usec: 100 +2026/02/15-08:54:06.511924 414231 Options.write_thread_slow_yield_usec: 3 +2026/02/15-08:54:06.511925 414231 Options.row_cache: None +2026/02/15-08:54:06.511926 414231 Options.wal_filter: None +2026/02/15-08:54:06.511926 414231 Options.avoid_flush_during_recovery: 0 +2026/02/15-08:54:06.511927 414231 Options.allow_ingest_behind: 0 +2026/02/15-08:54:06.511928 414231 Options.two_write_queues: 0 +2026/02/15-08:54:06.511928 414231 Options.manual_wal_flush: 0 +2026/02/15-08:54:06.511929 414231 Options.wal_compression: 0 +2026/02/15-08:54:06.511929 414231 Options.background_close_inactive_wals: 0 +2026/02/15-08:54:06.511930 414231 Options.atomic_flush: 0 +2026/02/15-08:54:06.511931 414231 Options.avoid_unnecessary_blocking_io: 0 +2026/02/15-08:54:06.511931 414231 Options.prefix_seek_opt_in_only: 0 +2026/02/15-08:54:06.511932 414231 Options.persist_stats_to_disk: 0 +2026/02/15-08:54:06.511932 414231 Options.write_dbid_to_manifest: 1 +2026/02/15-08:54:06.511933 414231 Options.write_identity_file: 1 +2026/02/15-08:54:06.511934 414231 Options.log_readahead_size: 0 +2026/02/15-08:54:06.511934 414231 Options.file_checksum_gen_factory: Unknown +2026/02/15-08:54:06.511935 414231 Options.best_efforts_recovery: 0 +2026/02/15-08:54:06.511935 414231 Options.max_bgerror_resume_count: 2147483647 +2026/02/15-08:54:06.511936 414231 Options.bgerror_resume_retry_interval: 1000000 +2026/02/15-08:54:06.511937 414231 Options.allow_data_in_errors: 0 +2026/02/15-08:54:06.511937 414231 Options.db_host_id: __hostname__ +2026/02/15-08:54:06.511938 414231 Options.enforce_single_del_contracts: true +2026/02/15-08:54:06.511939 414231 Options.metadata_write_temperature: kUnknown +2026/02/15-08:54:06.511940 414231 Options.wal_write_temperature: kUnknown +2026/02/15-08:54:06.511940 414231 Options.max_background_jobs: 4 +2026/02/15-08:54:06.511941 414231 Options.max_background_compactions: -1 +2026/02/15-08:54:06.511942 414231 Options.max_subcompactions: 1 +2026/02/15-08:54:06.511942 414231 Options.avoid_flush_during_shutdown: 0 +2026/02/15-08:54:06.511943 414231 Options.writable_file_max_buffer_size: 1048576 +2026/02/15-08:54:06.511944 414231 Options.delayed_write_rate : 16777216 +2026/02/15-08:54:06.511944 414231 Options.max_total_wal_size: 0 +2026/02/15-08:54:06.511945 414231 Options.delete_obsolete_files_period_micros: 21600000000 +2026/02/15-08:54:06.511946 414231 Options.stats_dump_period_sec: 600 +2026/02/15-08:54:06.511946 414231 Options.stats_persist_period_sec: 600 +2026/02/15-08:54:06.511947 414231 Options.stats_history_buffer_size: 1048576 +2026/02/15-08:54:06.511947 414231 Options.max_open_files: -1 +2026/02/15-08:54:06.511948 414231 Options.bytes_per_sync: 0 +2026/02/15-08:54:06.511949 414231 Options.wal_bytes_per_sync: 0 +2026/02/15-08:54:06.511949 414231 Options.strict_bytes_per_sync: 0 +2026/02/15-08:54:06.511950 414231 Options.compaction_readahead_size: 2097152 +2026/02/15-08:54:06.511951 414231 Options.max_background_flushes: -1 +2026/02/15-08:54:06.511951 414231 Options.max_manifest_file_size: 1073741824 +2026/02/15-08:54:06.511952 414231 Options.max_manifest_space_amp_pct: 500 +2026/02/15-08:54:06.511952 414231 Options.manifest_preallocation_size: 4194304 +2026/02/15-08:54:06.511953 414231 Options.daily_offpeak_time_utc: +2026/02/15-08:54:06.511954 414231 Compression algorithms supported: +2026/02/15-08:54:06.511955 414231 kCustomCompressionFE supported: 0 +2026/02/15-08:54:06.511956 414231 kCustomCompressionFC supported: 0 +2026/02/15-08:54:06.511957 414231 kCustomCompressionF8 supported: 0 +2026/02/15-08:54:06.511958 414231 kCustomCompressionF7 supported: 0 +2026/02/15-08:54:06.511958 414231 kCustomCompressionB2 supported: 0 +2026/02/15-08:54:06.511959 414231 kLZ4Compression supported: 1 +2026/02/15-08:54:06.511960 414231 kCustomCompression88 supported: 0 +2026/02/15-08:54:06.511960 414231 kCustomCompressionD8 supported: 0 +2026/02/15-08:54:06.511961 414231 kCustomCompression9F supported: 0 +2026/02/15-08:54:06.511961 414231 kCustomCompressionD6 supported: 0 +2026/02/15-08:54:06.511962 414231 kCustomCompressionA9 supported: 0 +2026/02/15-08:54:06.511963 414231 kCustomCompressionEC supported: 0 +2026/02/15-08:54:06.511964 414231 kCustomCompressionA3 supported: 0 +2026/02/15-08:54:06.511964 414231 kCustomCompressionCB supported: 0 +2026/02/15-08:54:06.511965 414231 kCustomCompression90 supported: 0 +2026/02/15-08:54:06.511966 414231 kCustomCompressionA0 supported: 0 +2026/02/15-08:54:06.511966 414231 kCustomCompressionC6 supported: 0 +2026/02/15-08:54:06.511967 414231 kCustomCompression9D supported: 0 +2026/02/15-08:54:06.511967 414231 kCustomCompression8B supported: 0 +2026/02/15-08:54:06.511968 414231 kCustomCompressionA8 supported: 0 +2026/02/15-08:54:06.511969 414231 kCustomCompression8D supported: 0 +2026/02/15-08:54:06.511969 414231 kCustomCompression97 supported: 0 +2026/02/15-08:54:06.511970 414231 kCustomCompression98 supported: 0 +2026/02/15-08:54:06.511971 414231 kCustomCompressionAC supported: 0 +2026/02/15-08:54:06.511971 414231 kCustomCompressionE9 supported: 0 +2026/02/15-08:54:06.511972 414231 kCustomCompression96 supported: 0 +2026/02/15-08:54:06.511973 414231 kCustomCompressionB1 supported: 0 +2026/02/15-08:54:06.511973 414231 kCustomCompression95 supported: 0 +2026/02/15-08:54:06.511974 414231 kCustomCompression84 supported: 0 +2026/02/15-08:54:06.511975 414231 kCustomCompression91 supported: 0 +2026/02/15-08:54:06.511975 414231 kCustomCompressionAB supported: 0 +2026/02/15-08:54:06.511976 414231 kCustomCompressionB3 supported: 0 +2026/02/15-08:54:06.511976 414231 kCustomCompression81 supported: 0 +2026/02/15-08:54:06.511977 414231 kCustomCompressionDC supported: 0 +2026/02/15-08:54:06.511978 414231 kBZip2Compression supported: 1 +2026/02/15-08:54:06.511978 414231 kCustomCompressionBB supported: 0 +2026/02/15-08:54:06.511979 414231 kCustomCompression9C supported: 0 +2026/02/15-08:54:06.511980 414231 kCustomCompressionC9 supported: 0 +2026/02/15-08:54:06.511980 414231 kCustomCompressionCC supported: 0 +2026/02/15-08:54:06.511981 414231 kCustomCompression92 supported: 0 +2026/02/15-08:54:06.511981 414231 kCustomCompressionB9 supported: 0 +2026/02/15-08:54:06.511982 414231 kCustomCompression8F supported: 0 +2026/02/15-08:54:06.511983 414231 kCustomCompression8A supported: 0 +2026/02/15-08:54:06.511983 414231 kCustomCompression9B supported: 0 +2026/02/15-08:54:06.511984 414231 kZSTD supported: 1 +2026/02/15-08:54:06.511985 414231 kCustomCompressionAA supported: 0 +2026/02/15-08:54:06.511985 414231 kCustomCompressionA2 supported: 0 +2026/02/15-08:54:06.511986 414231 kZlibCompression supported: 1 +2026/02/15-08:54:06.511986 414231 kXpressCompression supported: 0 +2026/02/15-08:54:06.511987 414231 kCustomCompressionFD supported: 0 +2026/02/15-08:54:06.511988 414231 kCustomCompressionE2 supported: 0 +2026/02/15-08:54:06.511988 414231 kLZ4HCCompression supported: 1 +2026/02/15-08:54:06.511989 414231 kCustomCompressionA6 supported: 0 +2026/02/15-08:54:06.511990 414231 kCustomCompression85 supported: 0 +2026/02/15-08:54:06.511990 414231 kCustomCompressionA4 supported: 0 +2026/02/15-08:54:06.511991 414231 kCustomCompression86 supported: 0 +2026/02/15-08:54:06.511992 414231 kCustomCompression83 supported: 0 +2026/02/15-08:54:06.511992 414231 kCustomCompression87 supported: 0 +2026/02/15-08:54:06.511993 414231 kCustomCompression89 supported: 0 +2026/02/15-08:54:06.511994 414231 kCustomCompression8C supported: 0 +2026/02/15-08:54:06.511995 414231 kCustomCompressionDB supported: 0 +2026/02/15-08:54:06.512022 414231 kCustomCompressionF3 supported: 0 +2026/02/15-08:54:06.512024 414231 kCustomCompressionE6 supported: 0 +2026/02/15-08:54:06.512024 414231 kCustomCompression8E supported: 0 +2026/02/15-08:54:06.512025 414231 kCustomCompressionDA supported: 0 +2026/02/15-08:54:06.512025 414231 kCustomCompression93 supported: 0 +2026/02/15-08:54:06.512026 414231 kCustomCompression94 supported: 0 +2026/02/15-08:54:06.512027 414231 kCustomCompression9E supported: 0 +2026/02/15-08:54:06.512027 414231 kCustomCompressionB4 supported: 0 +2026/02/15-08:54:06.512028 414231 kCustomCompressionFB supported: 0 +2026/02/15-08:54:06.512029 414231 kCustomCompressionB5 supported: 0 +2026/02/15-08:54:06.512030 414231 kCustomCompressionD5 supported: 0 +2026/02/15-08:54:06.512030 414231 kCustomCompressionB8 supported: 0 +2026/02/15-08:54:06.512031 414231 kCustomCompressionD1 supported: 0 +2026/02/15-08:54:06.512031 414231 kCustomCompressionBA supported: 0 +2026/02/15-08:54:06.512032 414231 kCustomCompressionBC supported: 0 +2026/02/15-08:54:06.512033 414231 kCustomCompressionCE supported: 0 +2026/02/15-08:54:06.512033 414231 kCustomCompressionBD supported: 0 +2026/02/15-08:54:06.512034 414231 kCustomCompressionC4 supported: 0 +2026/02/15-08:54:06.512035 414231 kCustomCompression9A supported: 0 +2026/02/15-08:54:06.512035 414231 kCustomCompression99 supported: 0 +2026/02/15-08:54:06.512036 414231 kCustomCompressionBE supported: 0 +2026/02/15-08:54:06.512053 414231 kCustomCompressionE5 supported: 0 +2026/02/15-08:54:06.512054 414231 kCustomCompressionD9 supported: 0 +2026/02/15-08:54:06.512055 414231 kCustomCompressionC1 supported: 0 +2026/02/15-08:54:06.512055 414231 kCustomCompressionC5 supported: 0 +2026/02/15-08:54:06.512056 414231 kCustomCompressionC2 supported: 0 +2026/02/15-08:54:06.512057 414231 kCustomCompressionA5 supported: 0 +2026/02/15-08:54:06.512057 414231 kCustomCompressionC7 supported: 0 +2026/02/15-08:54:06.512058 414231 kCustomCompressionBF supported: 0 +2026/02/15-08:54:06.512058 414231 kCustomCompressionE8 supported: 0 +2026/02/15-08:54:06.512059 414231 kCustomCompressionC8 supported: 0 +2026/02/15-08:54:06.512060 414231 kCustomCompressionAF supported: 0 +2026/02/15-08:54:06.512060 414231 kCustomCompressionCA supported: 0 +2026/02/15-08:54:06.512061 414231 kCustomCompressionCD supported: 0 +2026/02/15-08:54:06.512061 414231 kCustomCompressionC0 supported: 0 +2026/02/15-08:54:06.512062 414231 kCustomCompressionCF supported: 0 +2026/02/15-08:54:06.512063 414231 kCustomCompressionF9 supported: 0 +2026/02/15-08:54:06.512063 414231 kCustomCompressionD0 supported: 0 +2026/02/15-08:54:06.512064 414231 kCustomCompressionD2 supported: 0 +2026/02/15-08:54:06.512064 414231 kCustomCompressionAD supported: 0 +2026/02/15-08:54:06.512065 414231 kCustomCompressionD3 supported: 0 +2026/02/15-08:54:06.512066 414231 kCustomCompressionD4 supported: 0 +2026/02/15-08:54:06.512066 414231 kCustomCompressionD7 supported: 0 +2026/02/15-08:54:06.512067 414231 kCustomCompression82 supported: 0 +2026/02/15-08:54:06.512068 414231 kCustomCompressionDD supported: 0 +2026/02/15-08:54:06.512068 414231 kCustomCompressionC3 supported: 0 +2026/02/15-08:54:06.512069 414231 kCustomCompressionEE supported: 0 +2026/02/15-08:54:06.512070 414231 kCustomCompressionDE supported: 0 +2026/02/15-08:54:06.512070 414231 kCustomCompressionDF supported: 0 +2026/02/15-08:54:06.512071 414231 kCustomCompressionA7 supported: 0 +2026/02/15-08:54:06.512071 414231 kCustomCompressionE0 supported: 0 +2026/02/15-08:54:06.512072 414231 kCustomCompressionF1 supported: 0 +2026/02/15-08:54:06.512073 414231 kCustomCompressionE1 supported: 0 +2026/02/15-08:54:06.512073 414231 kCustomCompressionF5 supported: 0 +2026/02/15-08:54:06.512074 414231 kCustomCompression80 supported: 0 +2026/02/15-08:54:06.512075 414231 kCustomCompressionE3 supported: 0 +2026/02/15-08:54:06.512075 414231 kCustomCompressionE4 supported: 0 +2026/02/15-08:54:06.512077 414231 kCustomCompressionB0 supported: 0 +2026/02/15-08:54:06.512077 414231 kCustomCompressionEA supported: 0 +2026/02/15-08:54:06.512078 414231 kCustomCompressionFA supported: 0 +2026/02/15-08:54:06.512079 414231 kCustomCompressionE7 supported: 0 +2026/02/15-08:54:06.512079 414231 kCustomCompressionAE supported: 0 +2026/02/15-08:54:06.512080 414231 kCustomCompressionEB supported: 0 +2026/02/15-08:54:06.512081 414231 kCustomCompressionED supported: 0 +2026/02/15-08:54:06.512081 414231 kCustomCompressionB6 supported: 0 +2026/02/15-08:54:06.512082 414231 kCustomCompressionEF supported: 0 +2026/02/15-08:54:06.512082 414231 kCustomCompressionF0 supported: 0 +2026/02/15-08:54:06.512083 414231 kCustomCompressionB7 supported: 0 +2026/02/15-08:54:06.512084 414231 kCustomCompressionF2 supported: 0 +2026/02/15-08:54:06.512084 414231 kCustomCompressionA1 supported: 0 +2026/02/15-08:54:06.512085 414231 kCustomCompressionF4 supported: 0 +2026/02/15-08:54:06.512086 414231 kSnappyCompression supported: 1 +2026/02/15-08:54:06.512086 414231 kCustomCompressionF6 supported: 0 +2026/02/15-08:54:06.512087 414231 Fast CRC32 supported: Not supported on x86 +2026/02/15-08:54:06.512088 414231 DMutex implementation: pthread_mutex_t +2026/02/15-08:54:06.512088 414231 Jemalloc supported: 0 +2026/02/15-08:54:06.518228 414231 [db/db_impl/db_impl_open.cc:312] Creating manifest 1 +2026/02/15-08:54:06.526884 414231 [db/version_set.cc:6460] Recovering from manifest file: ./data/MANIFEST-000001 +2026/02/15-08:54:06.527736 414231 [db/column_family.cc:691] --------------- Options for column family [default]: +2026/02/15-08:54:06.527984 414231 Options.comparator: leveldb.BytewiseComparator +2026/02/15-08:54:06.527985 414231 Options.merge_operator: None +2026/02/15-08:54:06.527986 414231 Options.compaction_filter: None +2026/02/15-08:54:06.527986 414231 Options.compaction_filter_factory: None +2026/02/15-08:54:06.527987 414231 Options.sst_partitioner_factory: None +2026/02/15-08:54:06.527987 414231 Options.memtable_factory: SkipListFactory +2026/02/15-08:54:06.527988 414231 Options.table_factory: BlockBasedTable +2026/02/15-08:54:06.528029 414231 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (0x3a78dde0) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + checksum: 4 + no_block_cache: 0 + block_cache: 0x3a7878e0 + block_cache_name: AutoHyperClockCache + block_cache_options: + capacity : 33554432 + num_shard_bits : 0 + strict_capacity_limit : 0 + memory_allocator : None + persistent_cache: (nil) + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + user_defined_index_factory: nullptr + fail_if_no_udi_on_open: 0 + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 6 + enable_index_compression: 1 + block_align: 0 + super_block_alignment_size: 0 + super_block_alignment_space_overhead_ratio: 128 + max_auto_readahead_size: 262144 + prepopulate_block_cache: 0 + initial_auto_readahead_size: 8192 + num_file_reads_for_auto_readahead: 2 +2026/02/15-08:54:06.528036 414231 Options.write_buffer_size: 134217728 +2026/02/15-08:54:06.528037 414231 Options.max_write_buffer_number: 6 +2026/02/15-08:54:06.528057 414231 Options.compression[0]: NoCompression +2026/02/15-08:54:06.528058 414231 Options.compression[1]: NoCompression +2026/02/15-08:54:06.528059 414231 Options.compression[2]: LZ4 +2026/02/15-08:54:06.528059 414231 Options.compression[3]: LZ4 +2026/02/15-08:54:06.528060 414231 Options.compression[4]: LZ4 +2026/02/15-08:54:06.528060 414231 Options.compression[5]: LZ4 +2026/02/15-08:54:06.528061 414231 Options.compression[6]: LZ4 +2026/02/15-08:54:06.528063 414231 Options.bottommost_compression: Disabled +2026/02/15-08:54:06.528064 414231 Options.prefix_extractor: nullptr +2026/02/15-08:54:06.528064 414231 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2026/02/15-08:54:06.528065 414231 Options.num_levels: 7 +2026/02/15-08:54:06.528065 414231 Options.min_write_buffer_number_to_merge: 2 +2026/02/15-08:54:06.528066 414231 Options.max_write_buffer_size_to_maintain: 0 +2026/02/15-08:54:06.528067 414231 Options.bottommost_compression_opts.window_bits: -14 +2026/02/15-08:54:06.528067 414231 Options.bottommost_compression_opts.level: 32767 +2026/02/15-08:54:06.528068 414231 Options.bottommost_compression_opts.strategy: 0 +2026/02/15-08:54:06.528069 414231 Options.bottommost_compression_opts.max_dict_bytes: 0 +2026/02/15-08:54:06.528069 414231 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2026/02/15-08:54:06.528070 414231 Options.bottommost_compression_opts.parallel_threads: 1 +2026/02/15-08:54:06.528071 414231 Options.bottommost_compression_opts.enabled: false +2026/02/15-08:54:06.528071 414231 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2026/02/15-08:54:06.528072 414231 Options.bottommost_compression_opts.use_zstd_dict_trainer: true +2026/02/15-08:54:06.528073 414231 Options.compression_opts.window_bits: -14 +2026/02/15-08:54:06.528073 414231 Options.compression_opts.level: 32767 +2026/02/15-08:54:06.528074 414231 Options.compression_opts.strategy: 0 +2026/02/15-08:54:06.528075 414231 Options.compression_opts.max_dict_bytes: 0 +2026/02/15-08:54:06.528075 414231 Options.compression_opts.zstd_max_train_bytes: 0 +2026/02/15-08:54:06.528076 414231 Options.compression_opts.use_zstd_dict_trainer: true +2026/02/15-08:54:06.528077 414231 Options.compression_opts.parallel_threads: 1 +2026/02/15-08:54:06.528077 414231 Options.compression_opts.enabled: false +2026/02/15-08:54:06.528078 414231 Options.compression_opts.max_dict_buffer_bytes: 0 +2026/02/15-08:54:06.528079 414231 Options.level0_file_num_compaction_trigger: 2 +2026/02/15-08:54:06.528079 414231 Options.level0_slowdown_writes_trigger: 20 +2026/02/15-08:54:06.528080 414231 Options.level0_stop_writes_trigger: 36 +2026/02/15-08:54:06.528081 414231 Options.target_file_size_base: 67108864 +2026/02/15-08:54:06.528081 414231 Options.target_file_size_multiplier: 1 +2026/02/15-08:54:06.528082 414231 Options.target_file_size_is_upper_bound: 0 +2026/02/15-08:54:06.528083 414231 Options.max_bytes_for_level_base: 536870912 +2026/02/15-08:54:06.528083 414231 Options.level_compaction_dynamic_level_bytes: 1 +2026/02/15-08:54:06.528084 414231 Options.max_bytes_for_level_multiplier: 10.000000 +2026/02/15-08:54:06.528085 414231 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2026/02/15-08:54:06.528086 414231 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2026/02/15-08:54:06.528087 414231 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2026/02/15-08:54:06.528088 414231 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2026/02/15-08:54:06.528088 414231 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2026/02/15-08:54:06.528089 414231 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2026/02/15-08:54:06.528089 414231 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2026/02/15-08:54:06.528090 414231 Options.max_sequential_skip_in_iterations: 8 +2026/02/15-08:54:06.528091 414231 Options.memtable_op_scan_flush_trigger: 0 +2026/02/15-08:54:06.528091 414231 Options.memtable_avg_op_scan_flush_trigger: 0 +2026/02/15-08:54:06.528092 414231 Options.max_compaction_bytes: 1677721600 +2026/02/15-08:54:06.528093 414231 Options.arena_block_size: 1048576 +2026/02/15-08:54:06.528093 414231 Options.soft_pending_compaction_bytes_limit: 68719476736 +2026/02/15-08:54:06.528095 414231 Options.hard_pending_compaction_bytes_limit: 274877906944 +2026/02/15-08:54:06.528095 414231 Options.disable_auto_compactions: 0 +2026/02/15-08:54:06.528097 414231 Options.compaction_style: kCompactionStyleLevel +2026/02/15-08:54:06.528098 414231 Options.compaction_pri: kMinOverlappingRatio +2026/02/15-08:54:06.528098 414231 Options.compaction_options_universal.size_ratio: 1 +2026/02/15-08:54:06.528099 414231 Options.compaction_options_universal.min_merge_width: 2 +2026/02/15-08:54:06.528100 414231 Options.compaction_options_universal.max_merge_width: 4294967295 +2026/02/15-08:54:06.528100 414231 Options.compaction_options_universal.max_size_amplification_percent: 200 +2026/02/15-08:54:06.528101 414231 Options.compaction_options_universal.compression_size_percent: -1 +2026/02/15-08:54:06.528102 414231 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2026/02/15-08:54:06.528102 414231 Options.compaction_options_universal.max_read_amp: -1 +2026/02/15-08:54:06.528103 414231 Options.compaction_options_universal.reduce_file_locking: 0 +2026/02/15-08:54:06.528104 414231 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2026/02/15-08:54:06.528104 414231 Options.compaction_options_fifo.allow_compaction: 0 +2026/02/15-08:54:06.528109 414231 Options.table_properties_collectors: +2026/02/15-08:54:06.528110 414231 Options.inplace_update_support: 0 +2026/02/15-08:54:06.528111 414231 Options.inplace_update_num_locks: 10000 +2026/02/15-08:54:06.528112 414231 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2026/02/15-08:54:06.528112 414231 Options.memtable_whole_key_filtering: 0 +2026/02/15-08:54:06.528113 414231 Options.memtable_huge_page_size: 0 +2026/02/15-08:54:06.528114 414231 Options.bloom_locality: 0 +2026/02/15-08:54:06.528114 414231 Options.max_successive_merges: 0 +2026/02/15-08:54:06.528115 414231 Options.strict_max_successive_merges: 0 +2026/02/15-08:54:06.528116 414231 Options.optimize_filters_for_hits: 0 +2026/02/15-08:54:06.528116 414231 Options.paranoid_file_checks: 0 +2026/02/15-08:54:06.528117 414231 Options.force_consistency_checks: 1 +2026/02/15-08:54:06.528118 414231 Options.report_bg_io_stats: 0 +2026/02/15-08:54:06.528118 414231 Options.disallow_memtable_writes: 0 +2026/02/15-08:54:06.528119 414231 Options.ttl: 2592000 +2026/02/15-08:54:06.528119 414231 Options.periodic_compaction_seconds: 0 +2026/02/15-08:54:06.528120 414231 Options.default_temperature: kUnknown +2026/02/15-08:54:06.528121 414231 Options.preclude_last_level_data_seconds: 0 +2026/02/15-08:54:06.528122 414231 Options.preserve_internal_time_seconds: 0 +2026/02/15-08:54:06.528122 414231 Options.enable_blob_files: false +2026/02/15-08:54:06.528123 414231 Options.min_blob_size: 0 +2026/02/15-08:54:06.528123 414231 Options.blob_file_size: 268435456 +2026/02/15-08:54:06.528124 414231 Options.blob_compression_type: NoCompression +2026/02/15-08:54:06.528125 414231 Options.enable_blob_garbage_collection: false +2026/02/15-08:54:06.528125 414231 Options.blob_garbage_collection_age_cutoff: 0.250000 +2026/02/15-08:54:06.528126 414231 Options.blob_garbage_collection_force_threshold: 1.000000 +2026/02/15-08:54:06.528127 414231 Options.blob_compaction_readahead_size: 0 +2026/02/15-08:54:06.528128 414231 Options.blob_file_starting_level: 0 +2026/02/15-08:54:06.528128 414231 Options.experimental_mempurge_threshold: 0.000000 +2026/02/15-08:54:06.528129 414231 Options.memtable_max_range_deletions: 0 +2026/02/15-08:54:06.528130 414231 Options.cf_allow_ingest_behind: false +2026/02/15-08:54:06.529411 414231 [db/version_set.cc:6510] Recovered from manifest file:./data/MANIFEST-000001 succeeded,manifest_file_number is 1, next_file_number is 3, last_sequence is 0, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2026/02/15-08:54:06.529414 414231 [db/version_set.cc:6525] Column family [default] (ID 0), log number is 0 +2026/02/15-08:54:06.529415 414231 [db/db_impl/db_impl_open.cc:686] DB ID: 8dff41c8-9c17-41a7-bcc0-29dc39228555 +2026/02/15-08:54:06.537957 414231 [db/version_set.cc:6070] Created manifest 5, compacted+appended from 52 to 116 +2026/02/15-08:54:06.547313 414231 [db/db_impl/db_impl_open.cc:2626] SstFileManager instance 0x3a78f5b0 +2026/02/15-08:54:06.547637 414231 [DEBUG] [db/db_impl/db_impl_files.cc:389] [JOB 1] Delete ./data/MANIFEST-000001 type=3 #1 -- OK +2026/02/15-08:54:06.547650 414231 DB pointer 0x3a7903c0 +2026/02/15-08:54:06.547993 414252 [DEBUG] [cache/clock_cache.cc:1568] Slot occupancy stats: Overall 1% (1/64), Min/Max/Window = 100%/0%/500, MaxRun{Pos/Neg} = 1/56 +2026/02/15-08:54:06.547995 414252 [DEBUG] [cache/clock_cache.cc:1570] Eviction effort exceeded: 0 +2026/02/15-08:54:06.548022 414252 [DEBUG] [cache/clock_cache.cc:3639] Head occupancy stats: Overall 1% (1/64), Min/Max/Window = 100%/0%/500, MaxRun{Pos/Neg} = 1/56 +2026/02/15-08:54:06.548023 414252 [DEBUG] [cache/clock_cache.cc:3641] Entries at home count: 1 +2026/02/15-08:54:06.548024 414252 [DEBUG] [cache/clock_cache.cc:3643] Yield count: 0 +2026/02/15-08:54:06.548796 414252 [db/db_impl/db_impl.cc:1116] ------- DUMPING STATS ------- +2026/02/15-08:54:06.548802 414252 [db/db_impl/db_impl.cc:1118] +** DB Stats ** +Uptime(secs): 0.0 total, 0.0 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent +Write Stall (count): write-buffer-manager-limit-stops: 0 + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) WPreComp(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) WPreComp(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB, garbage size: 0.0 GB, space amp: 0.0 + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Estimated pending compaction bytes: 0 +Write Stall (count): cf-l0-file-count-limit-delays-with-ongoing-compaction: 0, cf-l0-file-count-limit-stops-with-ongoing-compaction: 0, l0-file-count-limit-delays: 0, l0-file-count-limit-stops: 0, memtable-limit-delays: 0, memtable-limit-stops: 0, pending-compaction-bytes-delays: 0, pending-compaction-bytes-stops: 0, total-delays: 0, total-stops: 0 +Block cache AutoHyperClockCache@0x3a7878e0#414231 capacity: 32.00 MB seed: 585643374 usage: 4.00 KB table_size: 64 occupancy: 1 collections: 1 last_copies: 0 last_secs: 1.3e-05 secs_since: 0 +Block cache entry stats(count,size,portion): Misc(1,0.00 KB,0%) + +** File Read Latency Histogram By Level [default] ** diff --git a/data/MANIFEST-000005 b/data/MANIFEST-000005 deleted file mode 100644 index 6381c85..0000000 Binary files a/data/MANIFEST-000005 and /dev/null differ diff --git a/data/MANIFEST-000009 b/data/MANIFEST-000009 new file mode 100644 index 0000000..dc0c0a2 Binary files /dev/null and b/data/MANIFEST-000009 differ diff --git a/data/OPTIONS-000011 b/data/OPTIONS-000011 new file mode 100644 index 0000000..dad80f4 --- /dev/null +++ b/data/OPTIONS-000011 @@ -0,0 +1,226 @@ +# This is a RocksDB option file. +# +# For detailed file format spec, please refer to the example file +# in examples/rocksdb_option_file_example.ini +# + +[Version] + rocksdb_version=10.9.1 + options_file_version=1.1 + +[DBOptions] + max_manifest_space_amp_pct=500 + manifest_preallocation_size=4194304 + max_manifest_file_size=1073741824 + compaction_readahead_size=2097152 + strict_bytes_per_sync=false + bytes_per_sync=0 + max_background_jobs=4 + avoid_flush_during_shutdown=false + max_background_flushes=-1 + delayed_write_rate=16777216 + max_open_files=-1 + max_subcompactions=1 + writable_file_max_buffer_size=1048576 + wal_bytes_per_sync=0 + max_background_compactions=-1 + max_total_wal_size=0 + delete_obsolete_files_period_micros=21600000000 + stats_dump_period_sec=600 + stats_history_buffer_size=1048576 + stats_persist_period_sec=600 + follower_refresh_catchup_period_ms=10000 + enforce_single_del_contracts=true + lowest_used_cache_tier=kNonVolatileBlockTier + bgerror_resume_retry_interval=1000000 + metadata_write_temperature=kUnknown + best_efforts_recovery=false + log_readahead_size=0 + write_identity_file=true + write_dbid_to_manifest=true + prefix_seek_opt_in_only=false + wal_compression=kNoCompression + manual_wal_flush=false + db_host_id=__hostname__ + two_write_queues=false + skip_checking_sst_file_sizes_on_db_open=false + flush_verify_memtable_count=true + atomic_flush=false + verify_sst_unique_id_in_manifest=true + skip_stats_update_on_db_open=false + track_and_verify_wals=false + track_and_verify_wals_in_manifest=false + compaction_verify_record_count=true + paranoid_checks=true + create_if_missing=true + max_write_batch_group_size_bytes=1048576 + follower_catchup_retry_count=10 + avoid_flush_during_recovery=false + file_checksum_gen_factory=nullptr + enable_thread_tracking=false + allow_fallocate=true + allow_data_in_errors=false + error_if_exists=false + use_direct_io_for_flush_and_compaction=false + background_close_inactive_wals=false + create_missing_column_families=false + WAL_size_limit_MB=0 + use_direct_reads=false + persist_stats_to_disk=false + allow_2pc=false + max_log_file_size=0 + is_fd_close_on_exec=true + avoid_unnecessary_blocking_io=false + max_file_opening_threads=16 + wal_filter=nullptr + wal_write_temperature=kUnknown + follower_catchup_retry_wait_ms=100 + allow_mmap_reads=false + allow_mmap_writes=false + use_adaptive_mutex=false + use_fsync=false + table_cache_numshardbits=6 + dump_malloc_stats=false + db_write_buffer_size=0 + allow_ingest_behind=false + keep_log_file_num=1000 + max_bgerror_resume_count=2147483647 + allow_concurrent_memtable_write=true + recycle_log_file_num=0 + log_file_time_to_roll=0 + WAL_ttl_seconds=0 + enable_pipelined_write=false + write_thread_slow_yield_usec=3 + unordered_write=false + wal_recovery_mode=kPointInTimeRecovery + enable_write_thread_adaptive_yield=true + write_thread_max_yield_usec=100 + advise_random_on_open=true + info_log_level=DEBUG_LEVEL + + +[CFOptions "default"] + memtable_max_range_deletions=0 + compression_manager=nullptr + compression_opts={checksum=false;max_dict_buffer_bytes=0;enabled=false;max_dict_bytes=0;max_compressed_bytes_per_kb=896;parallel_threads=1;zstd_max_train_bytes=0;level=32767;use_zstd_dict_trainer=true;strategy=0;window_bits=-14;} + paranoid_memory_checks=false + memtable_avg_op_scan_flush_trigger=0 + block_protection_bytes_per_key=0 + uncache_aggressiveness=0 + bottommost_file_compaction_delay=0 + memtable_protection_bytes_per_key=0 + compression_per_level=kNoCompression:kNoCompression:kLZ4Compression:kLZ4Compression:kLZ4Compression:kLZ4Compression:kLZ4Compression + bottommost_compression=kDisableCompressionOption + sample_for_compression=0 + prepopulate_blob_cache=kDisable + blob_file_starting_level=0 + blob_compaction_readahead_size=0 + blob_garbage_collection_force_threshold=1.000000 + blob_garbage_collection_age_cutoff=0.250000 + table_factory=BlockBasedTable + max_successive_merges=0 + max_write_buffer_number=6 + prefix_extractor=nullptr + memtable_huge_page_size=0 + write_buffer_size=134217728 + strict_max_successive_merges=false + arena_block_size=1048576 + memtable_op_scan_flush_trigger=0 + level0_file_num_compaction_trigger=2 + report_bg_io_stats=false + inplace_update_num_locks=10000 + memtable_prefix_bloom_size_ratio=0.000000 + level0_stop_writes_trigger=36 + blob_compression_type=kNoCompression + level0_slowdown_writes_trigger=20 + hard_pending_compaction_bytes_limit=274877906944 + target_file_size_multiplier=1 + paranoid_file_checks=false + min_blob_size=0 + max_compaction_bytes=1677721600 + disable_auto_compactions=false + experimental_mempurge_threshold=0.000000 + verify_output_flags=0 + last_level_temperature=kUnknown + preserve_internal_time_seconds=0 + memtable_veirfy_per_key_checksum_on_seek=false + soft_pending_compaction_bytes_limit=68719476736 + target_file_size_base=67108864 + enable_blob_files=false + bottommost_compression_opts={checksum=false;max_dict_buffer_bytes=0;enabled=false;max_dict_bytes=0;max_compressed_bytes_per_kb=896;parallel_threads=1;zstd_max_train_bytes=0;level=32767;use_zstd_dict_trainer=true;strategy=0;window_bits=-14;} + memtable_whole_key_filtering=false + target_file_size_is_upper_bound=false + max_bytes_for_level_base=536870912 + compaction_options_fifo={trivial_copy_buffer_size=4096;allow_trivial_copy_when_change_temperature=false;file_temperature_age_thresholds=;allow_compaction=false;age_for_warm=0;max_table_files_size=1073741824;} + max_bytes_for_level_multiplier=10.000000 + max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 + max_sequential_skip_in_iterations=8 + compression=kLZ4Compression + default_write_temperature=kUnknown + compaction_options_universal={reduce_file_locking=false;incremental=false;compression_size_percent=-1;allow_trivial_move=false;max_size_amplification_percent=200;max_merge_width=4294967295;stop_style=kCompactionStopStyleTotalSize;min_merge_width=2;max_read_amp=-1;size_ratio=1;} + ttl=2592000 + periodic_compaction_seconds=0 + preclude_last_level_data_seconds=0 + blob_file_size=268435456 + enable_blob_garbage_collection=false + cf_allow_ingest_behind=false + min_write_buffer_number_to_merge=2 + sst_partitioner_factory=nullptr + num_levels=7 + disallow_memtable_writes=false + force_consistency_checks=true + memtable_insert_with_hint_prefix_extractor=nullptr + memtable_factory=SkipListFactory + optimize_filters_for_hits=false + level_compaction_dynamic_level_bytes=true + compaction_style=kCompactionStyleLevel + compaction_filter=nullptr + default_temperature=kUnknown + inplace_update_support=false + merge_operator=nullptr + bloom_locality=0 + comparator=leveldb.BytewiseComparator + compaction_filter_factory=nullptr + max_write_buffer_size_to_maintain=0 + compaction_pri=kMinOverlappingRatio + persist_user_defined_timestamps=true + +[TableOptions/BlockBasedTable "default"] + fail_if_no_udi_on_open=false + initial_auto_readahead_size=8192 + max_auto_readahead_size=262144 + metadata_cache_options={unpartitioned_pinning=kFallback;partition_pinning=kFallback;top_level_index_pinning=kFallback;} + block_align=false + read_amp_bytes_per_bit=0 + verify_compression=false + detect_filter_construct_corruption=false + whole_key_filtering=true + user_defined_index_factory=nullptr + filter_policy=nullptr + super_block_alignment_space_overhead_ratio=128 + use_delta_encoding=true + optimize_filters_for_memory=true + partition_filters=false + prepopulate_block_cache=kDisable + pin_top_level_index_and_filter=true + index_block_restart_interval=1 + block_size_deviation=10 + num_file_reads_for_auto_readahead=2 + format_version=6 + decouple_partitioned_filters=true + checksum=kXXH3 + block_size=4096 + data_block_hash_table_util_ratio=0.750000 + index_shortening=kShortenSeparators + block_restart_interval=16 + data_block_index_type=kDataBlockBinarySearch + index_type=kBinarySearch + super_block_alignment_size=0 + metadata_block_size=4096 + pin_l0_filter_and_index_blocks_in_cache=false + no_block_cache=false + cache_index_and_filter_blocks_with_high_priority=true + cache_index_and_filter_blocks=false + enable_index_compression=true + flush_block_policy_factory=FlushBlockBySizePolicyFactory + diff --git a/rocksdb/rocksdb.odin b/rocksdb/rocksdb.odin index 6cb405d..381a418 100644 --- a/rocksdb/rocksdb.odin +++ b/rocksdb/rocksdb.odin @@ -5,6 +5,9 @@ import "core:fmt" foreign import rocksdb "system:rocksdb" +// In order to use RocksDB's WAL replication helpers, we need to import the C++ library so we use this shim +//foreign import rocksdb_shim "system:jormun_rocksdb_shim" // I know we'll use in future but because we're not right now, compiler is complaining + // RocksDB C API types RocksDB_T :: distinct rawptr RocksDB_Options :: distinct rawptr diff --git a/rocksdb_shim/rocksdb_shim.cc b/rocksdb_shim/rocksdb_shim.cc new file mode 100644 index 0000000..43c5b5c --- /dev/null +++ b/rocksdb_shim/rocksdb_shim.cc @@ -0,0 +1,22 @@ +// TODO: In order to use RocksDB's WAL replication helpers, we need to import the C++ library so we use this shim +/** + C++ shim implementation notes (the important bits) + + In this rocksdb_shim.cc we'll need to use: + + rocksdb::DB::Open(...) + + db->GetLatestSequenceNumber() + + db->GetUpdatesSince(seq, &iter) + + from each TransactionLogIterator entry: + + get WriteBatch and serialize via WriteBatch::Data() + + apply via rocksdb::WriteBatch wb(data); db->Write(write_options, &wb); + + Also we must configure WAL retention so the followers don’t fall off the end. RocksDB warns the iterator can become invalid if WAL is cleared aggressively; typical controls are WAL TTL / size limit. + + https://github.com/facebook/rocksdb/issues/1565 + */ \ No newline at end of file diff --git a/rocksdb_shim/rocksdb_shim.h b/rocksdb_shim/rocksdb_shim.h new file mode 100644 index 0000000..deab096 --- /dev/null +++ b/rocksdb_shim/rocksdb_shim.h @@ -0,0 +1,54 @@ +// In order to use RocksDB's WAL replication helpers, we need to import the C++ library so we use this shim +#pragma once +#include +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + + typedef struct jormun_db jormun_db; + typedef struct jormun_wal_iter jormun_wal_iter; + + // Open/close (so Odin never touches rocksdb_t directly) + jormun_db *jormun_db_open(const char *path, int create_if_missing, char **err); + void jormun_db_close(jormun_db *db); + + // Basic ops (you can mirror what you already have) + void jormun_db_put(jormun_db *db, + const void *key, size_t keylen, + const void *val, size_t vallen, + char **err); + + unsigned char *jormun_db_get(jormun_db *db, + const void *key, size_t keylen, + size_t *vallen, + char **err); + + // caller frees with this: + void jormun_free(void *p); + + // Replication primitives + uint64_t jormun_latest_sequence(jormun_db *db); + + // Iterator: start at seq (inclusive-ish; RocksDB positions to batch containing seq or first after) + jormun_wal_iter *jormun_wal_iter_create(jormun_db *db, uint64_t seq, char **err); + void jormun_wal_iter_destroy(jormun_wal_iter *it); + + // Next batch -> returns 1 if produced a batch, 0 if no more / not available + // You get a serialized “write batch” blob (rocksdb::WriteBatch::Data()) plus the batch start seq. + int jormun_wal_iter_next(jormun_wal_iter *it, + uint64_t *batch_start_seq, + unsigned char **out_data, + size_t *out_len, + char **err); + + // Apply serialized writebatch blob on follower + void jormun_apply_writebatch(jormun_db *db, + const unsigned char *data, size_t len, + char **err); + +#ifdef __cplusplus +} +#endif