Module file_purger

Module file_purger 

Source

Structs§

LocalFilePurger
Purger that purges file for current region.
NoopFilePurger
A no-op file purger can be used in combination with reading SST files outside of this region.
ObjectStoreFilePurger

Traits§

FilePurger
A worker to delete files in background.

Functions§

create_file_purger
Creates a file purger based on the storage type of the access layer. Should be use in combination with Gc Worker.
create_local_file_purger
Creates a local file purger that deletes files from both the storage and the cache.
should_enable_gc
For debug build, we may use Fs as the object store scheme, so we need to enable GC for local file system.

Type Aliases§

FilePurgerRef