Structsยง
- Batch
Key ๐ - Flush
Batch ๐ - Flush
Region ๐Write - Flush
Waiter ๐ - Pending
Batch ๐ - Pending
Rows Batcher - Prometheus remote write pending rows batcher.
- Pending
Worker ๐ - Table
Batch ๐ - Table
Resolution ๐Plan - Intermediate planning state for resolving and preparing logical tables before row-to-batch alignment.
Enumsยง
- Flush
Write ๐Result - Worker
Command ๐
Constantsยง
- PENDING_
ROWS_ ๐BATCH_ SYNC_ ENV - Whether wait for ingestion result before reply to client.
- PHYSICAL_
REGION_ ๐ESSENTIAL_ COLUMN_ COUNT - PHYSICAL_
TABLE_ ๐KEY - WORKER_
IDLE_ ๐TIMEOUT_ MULTIPLIER
Traitsยง
Functionsยง
- batch_
key_ ๐from_ ctx - columns_
taxonomy ๐ - Classifies columns in a logical-table batch for sparse primary-key conversion.
- drain_
batch ๐ - flush_
batch ๐ - flush_
batch_ ๐physical - Attempts to flush all table batches by transforming them into the physical table format (sparse primary key encoding) and writing directly to the physical data regions.
- flush_
region_ ๐writes_ concurrently - flush_
with_ ๐error - mark_
flush_ ๐failure - notify_
waiters ๐ - record_
batch_ ๐to_ ipc - remove_
worker_ ๐if_ same_ channel - should_
close_ ๐worker_ on_ idle_ timeout - should_
dispatch_ ๐concurrently - spawn_
flush ๐ - start_
worker ๐ - strip_
partition_ ๐columns_ from_ batch