Skip to main content

Module vfs

Module vfs 

Source
Expand description

Custom SQLite VFS for actor-side depot transport. The actor SQLite VFS over a page transport.

Structs§

BufferedCommitOutcome
BufferedCommitRequest
BufferedDirtyPage
NativeDatabase
SqliteCommitIndeterminateError
Marks a lost commit reply so the VFS can fail closed instead of using stale state.
SqliteGetPagesProfile
Bounded details for one physical get_pages call made while a native SQLite command is executing.
SqliteOperationMetric
SqliteOperationProfile
Fixed-size, connection-local counters collected by VFS callbacks for one native SQLite command. The worker installs and removes this context around each command, so VFS activity cannot be attributed to a neighboring query.
SqliteRoundTripCounts
Cumulative count of network round trips the VFS has issued to the engine.
SqliteStorageTimeoutError
A transport’s report that a SQLite request’s deadline passed before its response arrived, for a read or for a write it never sent. A transport reports a sent write that timed out as SqliteCommitIndeterminateError instead, since storage may still have committed it.
SqliteTransactionMetric
SqliteTransactionTooLargeError
A transaction tried to change more pages than one commit may carry.
SqliteVfs
SqliteVfsMetricsSnapshot
VfsConfig
VfsContext

Enums§

CommitBufferError
CommitPath
SqliteOpenPhase
SqliteStorageError
A SQLite storage request that failed without changing anything, in a way the caller can act on. The VFS reports it to SQLite as an I/O error, and the statement’s command returns it instead of SQLite’s generic disk I/O error.

Constants§

MAX_PROFILED_GET_PAGES_REQUESTS
MAX_PROFILED_TRANSACTION_STATEMENTS

Traits§

SqliteTransport
SqliteVfsMetrics

Functions§

configure_connection_for_database
open_connection
open_database
verify_batch_atomic_writes_at_process_startup
Verifies the linked SQLite pager and the production VFS batch-atomic callbacks before this process becomes eligible to run actors.

Type Aliases§

NativeConnection
NativeVfsHandle
SqliteTransportHandle