Structsยง
Enumsยง
- Mock
Instance Impl - A test instance backed by embedded storage or a distributed cluster.
- Storage
Type
Constantsยง
Functionsยง
- assert_
wal_ delta - Require a real write, then check WAL policy independently of row deduplication.
- build_
test_ prom_ server - Builds Prometheus HTTP routes for either a standalone or distributed frontend.
memory_limitermust be set before the handlers are wired (handlers capture the limiter at wiring time, mirroring production infrontend::server). - create_
datanode_ ๐opts - create_
test_ ๐table - create_
tmp_ dir_ and_ datanode_ opts - execute_
sql - execute_
sql_ and_ expect - flush_
and_ ๐snapshot_ region_ wal - Flush user data regions before observing their persisted WAL watermarks. Metadata regions write WAL independently and are excluded from this check.
- get_
test_ store_ config - prepare_
another_ ๐catalog_ and_ schema - prepare_
another_ ๐catalog_ and_ schema_ with_ kv_ backend - prepare_
another_ ๐catalog_ and_ schema_ with_ manager - run_sql ๐
- s3_
test_ ๐config - setup_
authenticated_ grpc_ database - Starts a gRPC server backed by
instanceand returns a client authenticated as the supplied test user. The server handle keeps the listener alive. - setup_
grpc_ server - setup_
grpc_ server_ for_ frontend_ instance - Builds and starts an authenticated gRPC server on an existing frontend instance.
- setup_
grpc_ ๐server_ for_ frontend_ instance_ with - setup_
grpc_ ๐server_ for_ instance - Builds and starts a gRPC server on top of an already-constructed standalone
instance. This is the shared core behind the
setup_grpc_server_*helpers. - setup_
grpc_ server_ with - setup_
grpc_ server_ with_ auto_ create_ table_ disabled - Sets up a gRPC server backed by a standalone instance whose frontend has auto table creation disabled, for testing the server-side global switch.
- setup_
grpc_ server_ with_ user_ provider - setup_
mysql_ server - setup_
mysql_ server_ with_ slow_ query_ threshold - setup_
mysql_ server_ with_ user_ provider - setup_
pg_ server - setup_
pg_ server_ with_ prom_ native_ histogram - Sets up a standalone instance with both a Prometheus remote-write HTTP app (native histograms enabled) and a Postgres server attached, so native histogram data written via remote-write can be queried over the Postgres protocol.
- setup_
pg_ server_ with_ slow_ query_ threshold - setup_
pg_ server_ with_ user_ provider - setup_
standalone_ ๐instance - setup_
standalone_ ๐instance_ with_ plugins - setup_
standalone_ ๐instance_ with_ plugins_ and_ slow_ query_ threshold - setup_
standalone_ ๐instance_ with_ slow_ query_ threshold - setup_
test_ http_ app - setup_
test_ http_ app_ with_ frontend - setup_
test_ http_ app_ with_ frontend_ and_ custom_ options - setup_
test_ http_ app_ with_ frontend_ and_ slow_ query_ threshold - setup_
test_ http_ app_ with_ frontend_ and_ user_ provider - setup_
test_ prom_ app_ with_ frontend - setup_
test_ prom_ app_ with_ frontend_ and_ memory_ limiter - Like
setup_test_prom_app_with_frontendbut wires a shared request-memory limiter into the server, mirroring production deployments that configuremax_in_flight_write_bytes. - setup_
test_ prom_ app_ with_ frontend_ batched - Like
setup_test_prom_app_with_frontendbut enables the pending-rows batcher, so Prometheus remote write goes through the batched (metric-engine) path instead of the directPromStoreProtocolHandler::writepath. - setup_
test_ ๐prom_ app_ with_ frontend_ inner - test_
event_ recorder_ options - Event recorder options for tests.
- try_
execute_ sql
Type Aliasesยง
- WalSnapshot
- Maps
(node_id, region_id)to(flushed_sequence, flushed_entry_id).