6.29.5 (03/29/2022)
Bug Fixes
- Fixed a race condition for
alive_log_files_
in non-two-write-queues mode. The race is between the write_thread_ in WriteToWAL() and another thread executingFindObsoleteFiles()
. The race condition will be caught if__glibcxx_requires_nonempty
is enabled. - Fixed a race condition when mmaping a WritableFile on POSIX.
- Fixed a race condition when 2PC is disabled and WAL tracking in the MANIFEST is enabled. The race condition is between two background flush threads trying to install flush results, causing a WAL deletion not tracked in the MANIFEST. A future DB open may fail.
- Fixed a heap use-after-free race with DropColumnFamily.
- Fixed a bug that
rocksdb.read.block.compaction.micros
cannot track compaction stats (#9722).