fork of https://github.com/oxigraph/rocksdb and https://github.com/facebook/rocksdb for nextgraph and oxigraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
51 lines
1.3 KiB
---
|
|
title: RocksDB 4.2 Release!
|
|
layout: post
|
|
author: sdong
|
|
category: blog
|
|
---
|
|
|
|
New RocksDB release - 4.2!
|
|
|
|
|
|
|
|
|
|
**New Features**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Introduce CreateLoggerFromOptions(), this function create a Logger for provided DBOptions.
|
|
|
|
|
|
2. Add GetAggregatedIntProperty(), which returns the sum of the GetIntProperty of all the column families.
|
|
|
|
|
|
3. Add MemoryUtil in rocksdb/utilities/memory.h. It currently offers a way to get the memory usage by type from a list rocksdb instances.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**Public API changes**
|
|
|
|
|
|
|
|
|
|
1. CompactionFilter::Context includes information of Column Family ID
|
|
|
|
|
|
2. The need-compaction hint given by TablePropertiesCollector::NeedCompact() will be persistent and recoverable after DB recovery. This introduces a breaking format change. If you use this experimental feature, including NewCompactOnDeletionCollectorFactory() in the new version, you may not be able to directly downgrade the DB back to version 4.0 or lower.
|
|
|
|
|
|
3. TablePropertiesCollectorFactory::CreateTablePropertiesCollector() now takes an option Context, containing the information of column family ID for the file being written.
|
|
|
|
|
|
4. Remove DefaultCompactionFilterFactory.
|
|
|
|
|
|
[https://github.com/facebook/rocksdb/releases/tag/v4.2](https://github.com/facebook/rocksdb/releases/tag/v4.2)
|
|
|