Module path_utils

Source
Expand description

Path constants for table engines, cluster states and WAL All paths relative to data_home(file storage) or root path(S3, OSS etc).

Constants§

CLUSTER_DIR
Cluster state dir
DATA_DIR
Data dir for table engines
WAL_DIR
WAL dir for local file storage

Functions§

get_storage_path
get_storage_path returns the storage path from the region_dir.
region_dir
region_name
Generate region name in the form of “{TABLE_ID}_{REGION_NUMBER}”
table_dir