common_meta::wal_options_allocator

Function allocate_region_wal_options

source
pub fn allocate_region_wal_options(
    regions: Vec<RegionNumber>,
    wal_options_allocator: &WalOptionsAllocator,
) -> Result<HashMap<RegionNumber, String>>
Expand description

Allocates a wal options for each region. The allocated wal options is encoded immediately.