Summary: PR https://github.com/facebook/rocksdb/issues/14266 ("Remove compression support") removed compression-related functionality from blob_dump_tool and ldb commands. While this was valid for the legacy stacked BlobDB (which no longer supports compression), the integrated blob storage (`enable_blob_files`) uses the same blob file format and fully supports compression via `blob_compression_type`. This partial revert restores the ability to view uncompressed blob data from compressed blob files, which is essential for debugging and analysis of integrated blob storage. Restored functionality: - `blob_dump --show_uncompressed_blob` option - `ldb dump --dump_uncompressed_blobs` option - `ldb dump_live_files --dump_uncompressed_blobs` option - Related ldb_test.py test coverage The decompression implementation in utilities/blob_db/blob_dump_tool.cc has been updated to use the modern `GetBuiltinV2CompressionManager()->GetDecompressorOptimizeFor()` API. Suggested follow-up: * Tests for blob_dump (or integrate it into sst_dump/ldb?) Pull Request resolved: https://github.com/facebook/rocksdb/pull/14382 Test Plan: Restored ldb_test.py Some manual testing Reviewed By: mszeszko-meta Differential Revision: D94257588 Pulled By: pdillinger fbshipit-source-id: c6d8a556a51ec9422df208ae161806ccc1f20b36 |
||
|---|---|---|
| .. | ||
| blob_compaction_filter.cc | ||
| blob_compaction_filter.h | ||
| blob_db.cc | ||
| blob_db.h | ||
| blob_db_gc_stats.h | ||
| blob_db_impl.cc | ||
| blob_db_impl.h | ||
| blob_db_impl_filesnapshot.cc | ||
| blob_db_iterator.h | ||
| blob_db_listener.h | ||
| blob_db_test.cc | ||
| blob_dump_tool.cc | ||
| blob_dump_tool.h | ||
| blob_file.cc | ||
| blob_file.h | ||