Skip to main content

scan_async_io_env_enabled

Function scan_async_io_env_enabled 

Source
pub fn scan_async_io_env_enabled() -> bool
Expand description

Gate: submit scan-iterator block reads asynchronously via io_uring (ReadOptions::async_io), process-wide (WARATAH_SCAN_ASYNC_IO=1; off by default). Engages for sequential iteration — forward hexastore scans, geo/temporal drains, and the registry warm pass; random seek patterns (the resolve path) are unaffected. Requires io_uring support compiled into the library (ROCKSDB_IOURING_PRESENT); silent synchronous fallback otherwise.