Module lock_key

Source

Enumsยง

CatalogLock
CatalogLock acquires the lock on the tenant level.
FlowLock
FlowLock acquires the lock on the table level.
FlowNameLock
FlowNameLock prevents any procedures trying to create a flow named it.
RegionLock
RegionLock acquires the lock on the region level.
RemoteWalLock
RemoteWalLock acquires the lock on the remote wal topic level.
SchemaLock
SchemaLock acquires the lock on the database level.
TableLock
TableLock acquires the lock on the table level.
TableNameLock
TableNameLock prevents any procedures trying to create a table named it.

Constantsยง

CATALOG_LOCK_PREFIX ๐Ÿ”’
FLOW_LOCK_PREFIX ๐Ÿ”’
FLOW_NAME_LOCK_PREFIX ๐Ÿ”’
REGION_LOCK_PREFIX ๐Ÿ”’
REMOTE_WAL_LOCK_PREFIX ๐Ÿ”’
SCHEMA_LOCK_PREFIX ๐Ÿ”’
TABLE_LOCK_PREFIX ๐Ÿ”’
TABLE_NAME_LOCK_PREFIX ๐Ÿ”’