rocksdb/db/db_impl
Akanksha Mahajan d6aa8c49f8 Expose blob file information through the EventListener interface (#8675)
Summary:
1. Extend FlushJobInfo and CompactionJobInfo with information about the blob files generated by flush/compaction jobs. This PR add two structures BlobFileInfo and BlobFileGarbageInfo that contains the required information of blob files.
 2. Notify the creation and deletion of blob files through OnBlobFileCreationStarted, OnBlobFileCreated, and OnBlobFileDeleted.
 3. Test OnFile*Finish operations notifications with Blob Files.
 4. Log the blob file creation/deletion events through EventLogger in Log file.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8675

Test Plan: Add new unit tests in listener_test

Reviewed By: ltamasi

Differential Revision: D30412613

Pulled By: akankshamahajan15

fbshipit-source-id: ca51b63c6e8c8d0485a38c503572bc5a82bd5d07
2021-09-16 17:23:36 -07:00
..
compacted_db_impl.cc Make backups openable as read-only DBs (#8142) 2021-04-06 14:37:53 -07:00
compacted_db_impl.h Move compacted_db_impl.[c|h] to db/db_impl (#8082) 2021-03-23 13:49:26 -07:00
db_impl_compaction_flush.cc Expose blob file information through the EventListener interface (#8675) 2021-09-16 17:23:36 -07:00
db_impl_debug.cc Eliminate compiler complaining, which the return type of the function… (#8498) 2021-07-08 10:09:05 -07:00
db_impl_experimental.cc Replace reinterpret_cast with static_cast_with_check (#7067) 2020-07-02 19:25:41 -07:00
db_impl_files.cc Expose blob file information through the EventListener interface (#8675) 2021-09-16 17:23:36 -07:00
db_impl_open.cc Expose blob file information through the EventListener interface (#8675) 2021-09-16 17:23:36 -07:00
db_impl_readonly.cc Make backups openable as read-only DBs (#8142) 2021-04-06 14:37:53 -07:00
db_impl_readonly.h RocksJava - Add errorIfLogFileExists parameter to RocksDB.openReadOnly (#7046) 2020-09-17 15:41:25 -07:00
db_impl_secondary.cc Allow iterate refresh for secondary instance (#8700) 2021-08-24 15:40:56 -07:00
db_impl_secondary.h Allow iterate refresh for secondary instance (#8700) 2021-08-24 15:40:56 -07:00
db_impl_write.cc Fix WAL log data corruption #8723 (#8746) 2021-09-13 20:15:59 -07:00
db_impl.cc Expose blob file information through the EventListener interface (#8675) 2021-09-16 17:23:36 -07:00
db_impl.h Replace most typedef with using= (#8751) 2021-09-07 11:31:59 -07:00