Expand description
Region opener.
Structsยง
- Region
Opener ๐ - Builder to create a new MitoRegion or open an existing one.
Enumsยง
- Region
Load ๐Cache Task - A task to load and fill the region file cache.
Constantsยง
Staticsยง
Traitsยง
- Partition
Expr Fetcher - A fetcher to retrieve partition expr for a region.
Functionsยง
- can_
load_ ๐cache - check_
recovered_ ๐region - Checks whether the recovered region has the same schema as region to create.
- check_
wal_ ๐history - Checks that the log store holds the WAL history of a region that writes
to the WAL through the largest replay watermark
versionpersisted, before the region is replayed. A region that skips the WAL keeps no history there. - get_
object_ store - Returns an object store corresponding to
name. IfnameisNone, this method returns the default object store. - initial_
pruned_ ๐entry_ id - maybe_
load_ ๐cache - Loads all index (Puffin) files from the version into the write cache.
- maybe_
preload_ ๐sst_ meta_ cache - maybe_
upgrade_ ๐json2_ layout - preload_
narthex_ ๐descriptor - Uses only a resident manifest or a local region backend during startup.
- preload_
sst_ ๐meta_ cache_ for_ files - Preloads SST metadata into the in-memory SST meta cache on region open.
- provider_
from_ ๐wal_ options - replay_
entry ๐ - Writes one WAL entry into the mutable memtable of
version_control, keeping the sequences the WAL recorded, and returns the number of rows.last_entry_idis the largest entry id replayed so far, this one included. - replay_
memtable ๐ - Replays the mutations from WAL and inserts mutations to memtable of given region,
then releases the WAL up to
release_entry_id. - sanitize_
open_ ๐request_ options - Sanitizes open request options before parsing.
- sanitize_
region_ ๐options - Updates region options by persistent options.
- supports_
open_ ๐region_ object_ storage_ requirement - version_
builder_ ๐from_ manifest - Creates a version builder from a region manifest.