• Junqi Xie's avatar
    MDEV-30610 Update RocksDB to v8.1.1 · 485c9b1f
    Junqi Xie authored
    MariaRocks is currently lagging behind the main branch of the RocksDB engine. This commit brings MariaRocks up to date with the latest release of RocksDB by backporting changes from Facebook’s MyRocks. These changes include API updates, bug fixes, and improvements for compatibility with RocksDB v8.1.1. Some system variables and metadata tables are modified to reflect the internal changes in RocksDB.
    
    Additionally, this commit backports improved and more stable test cases from Facebook’s MyRocks, including tests for the write_unprepared isolation level of RocksDB. It also reverts workarounds for MDEV-29875 and MDEV-31057 and adds support for the latest compilation options.
    
    The default value of the following system variables are changed:
    * rocksdb_stats_level: 1 (kExceptHistogramOrTimers)
    * rocksdb_wal_recovery_mode: 2 (kPointInTimeRecovery)
    
    The following system variables are added:
    * rocksdb_cancel_manual_compactions
    * rocksdb_enable_iterate_bounds
    * rocksdb_enable_pipelined_write
    * rocksdb_enable_remove_orphaned_dropped_cfs
    * rocksdb_manual_compaction_bottommost_level
    * rocksdb_max_background_compactions
    * rocksdb_max_background_flushes
    * rocksdb_max_bottom_pri_background_compactions
    * rocksdb_skip_locks_if_skip_unique_check
    * rocksdb_track_and_verify_wals_in_manifest
    * rocksdb_write_batch_flush_threshold
    
    The following system variables are deprecated:
    * rocksdb_hash_index_allow_collision
    * rocksdb_new_table_reader_for_compaction_inputs
    
    The following dynamic metadata table is added:
    * INFORMATION_SCHEMA.ROCKSDB_LIVE_FILES_METADATA
    
    The following status variables are added:
    * rocksdb_manual_compactions_cancelled
    * rocksdb_manual_compactions_pending
    
    The following status variables are removed:
    * rocksdb_block_cache_filter_bytes_evict
    * rocksdb_block_cache_index_bytes_evict
    * rocksdb_block_cachecompressed_hit
    * rocksdb_block_cachecompressed_miss
    * rocksdb_no_file_closes
    * rocksdb_num_iterators
    * rocksdb_number_deletes_filtered
    * rocksdb_write_timedout
    485c9b1f
information_schema.test 4.18 KB