Skip to main content

disable_fallocate

Function disable_fallocate 

Source
pub fn disable_fallocate()
Expand description

Stops RocksDB from preallocating file space in databases opened afterwards with default_db_options or bulk_ingestion_options.

For tests that run many nodes in one process: on Linux, each write-ahead log otherwise reserves up to 1.1 × the write buffer size on disk.