Crate chunkfs Copy item path Source Chunk A chunk of the processed data. Doesn’t store any data,
only contains offset and length of the chunk. ChunkerRef CopyScrubber DataContainer Container for storage data. FileSystem A file system provided by chunkfs. ScrubMeasurements Measurements made by the scrubber. WriteMeasurements Measurements that are received after writing data to a file.
Contain time spent for chunking and for hashing. Data Contains either a chunk produced by [Chunker], or a vector of target keys, using which the initial chunk can be restored. ChunkHash Trait for a CDC hash, combining several other traits: hash::Hash , Clone , Eq , PartialEq , Default . Chunker Base functionality for objects that split given data into chunks.
Doesn’t modify the given data or do anything else. Database Serves as base functionality for storing the actual data as key-value pairs. Hasher Functionality for an object that hashes the input. IterableDatabase Allows iteration over database contents. Scrub Basic functionality for implementing algorithms which process chunks provided by the Chunker . The implementations should encapsulate
algorithm logic (write part) inside themselves and not delegate it to database
. The read part of the algorithm should be encapsulated in target_map
. create_cdc_filesystem Creates a file system that can be used to compare CDC algorithms.