internal/

directory
v0.53.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: Apache-2.0

Directories

Path Synopsis
Package buildbudget accounts flush working sets independently of compressed part sizes.
Package buildbudget accounts flush working sets independently of compressed part sizes.
cmd
benchreport command
Command benchreport turns `benchstat -format csv` (read from stdin) into a rich, GitHub-flavored Markdown report: a generalized verdict alert, per-metric tables with direction-aware deltas and status emoji, and an optional collapsible raw table.
Command benchreport turns `benchstat -format csv` (read from stdin) into a rich, GitHub-flavored Markdown report: a generalized verdict alert, per-metric tables with direction-aware deltas and status emoji, and an optional collapsible raw table.
fuzz command
Command fuzz starts a fuzzing campaign for a randomly chosen fuzz target using gosentry (https://github.com/trailofbits/gosentry), Trail of Bits' Go-toolchain fork that runs `go test -fuzz` on top of LibAFL.
Command fuzz starts a fuzzing campaign for a randomly chosen fuzz target using gosentry (https://github.com/trailofbits/gosentry), Trail of Bits' Go-toolchain fork that runs `go test -fuzz` on top of LibAFL.
gensimd command
Command gensimd generates the AVX2 assembly kernels in internal/simd via avo.
Command gensimd generates the AVX2 assembly kernels in internal/simd via avo.
Package diskguard refuses a write the medium cannot store, instead of accepting it and losing it later.
Package diskguard refuses a write the medium cannot store, instead of accepting it and losing it later.
Package engineguard separates engine writer ordering from reader visibility.
Package engineguard separates engine writer ordering from reader visibility.
Package enginetest is the conformance suite the metric and record engines share: the part lifecycle, index-commit and repair invariants both must hold, written once against an Engine adapter.
Package enginetest is the conformance suite the metric and record engines share: the part lifecycle, index-commit and repair invariants both must hold, written once against an Engine adapter.
Package heaptest measures heap and allocation in tests and benchmarks.
Package heaptest measures heap and allocation in tests and benchmarks.
Package identitysnapshot captures append-only identity references in bounded lock sections.
Package identitysnapshot captures append-only identity references in bounded lock sections.
Package indexcommit confirms ambiguous bucket-index writes before publication.
Package indexcommit confirms ambiguous bucket-index writes before publication.
Package memlimit reports the memory budget the process actually has, so a size derived from it (the merge cap) tracks the container it runs in rather than a constant that is right at exactly one deployment size.
Package memlimit reports the memory budget the process actually has, so a size derived from it (the merge cap) tracks the container it runs in rather than a constant that is right at exactly one deployment size.
Package memsize estimates the resident footprint of in-memory index structures, so identity state — the symbol table, the series index and the postings lists, none of which the buffered sample/record byte counters see — can be metered and reported to an operator.
Package memsize estimates the resident footprint of in-memory index structures, so identity state — the symbol table, the series index and the postings lists, none of which the buffered sample/record byte counters see — can be metered and reported to an operator.
Package mergestream holds the pieces a streaming merge needs in both the metric and the record engine: the k-way key union, the two-unit memory budget, and the forward-cursor contract.
Package mergestream holds the pieces a streaming merge needs in both the metric and the record engine: the k-way key union, the two-unit memory budget, and the forward-cursor contract.
mergestreamtest
Package mergestreamtest is the conformance suite for a streaming merge: the invariants both engines must hold, expressed once so neither tests them its own way.
Package mergestreamtest is the conformance suite for a streaming merge: the invariants both engines must hold, expressed once so neither tests them its own way.
obs
Package obs bundles the library's injected observability — a zap logger, an OTel tracer, and the metric instruments — built once from the embedder's configuration and handed to each subsystem.
Package obs bundles the library's injected observability — a zap logger, an OTel tracer, and the metric instruments — built once from the embedder's configuration and handed to each subsystem.
obstest
Package obstest builds an obs.Obs backed by a manual metric reader, for tests that assert what a code path reported.
Package obstest builds an obs.Obs backed by a manual metric reader, for tests that assert what a code path reported.
Package parallel provides bounded fan-out over an index range — the project's house pattern for running independent work (per-tenant maintenance, per-shard scatter-gather, WAL fsyncs) concurrently under a cap, without pulling in an errgroup dependency.
Package parallel provides bounded fan-out over an index range — the project's house pattern for running independent work (per-tenant maintenance, per-shard scatter-gather, WAL fsyncs) concurrently under a cap, without pulling in an errgroup dependency.
Package partid mints the globally unique identifiers that name a part on a backend.
Package partid mints the globally unique identifiers that name a part on a backend.
Package repair is the part-repair pass the metric and record engines share: which wants and holes a cycle attempts, the fetch rounds that complete a split group, the absence evidence a hole is earned by, and which of the fetched parts a commit may publish.
Package repair is the part-repair pass the metric and record engines share: which wants and holes a cycle attempts, the fetch rounds that complete a split group, the absence evidence a hole is earned by, and which of the fetched parts a commit may publish.
Package reproduce gates the tests that demonstrate a defect the tree has not fixed yet.
Package reproduce gates the tests that demonstrate a defect the tree has not fixed yet.
Package retention bounds repeated background rewrites at a moving expiry cutoff.
Package retention bounds repeated background rewrites at a moving expiry cutoff.
Package retry adds durability and tail-latency control to calls over unreliable transports (node-to-node RPCs, S3).
Package retry adds durability and tail-latency control to calls over unreliable transports (node-to-node RPCs, S3).
Package simd provides vectorized kernels for hot columnar loops, each with a portable pure-Go fallback selected at build time by architecture and, on amd64, at runtime by CPU feature.
Package simd provides vectorized kernels for hot columnar loops, each with a portable pure-Go fallback selected at build time by architecture and, on amd64, at runtime by CPU feature.
Package timebucket shares the aligned merge ladder and bounded selection between both engines.
Package timebucket shares the aligned merge ladder and bounded selection between both engines.
vfs
Package vfs is the filesystem seam the durable local paths write through: the file backend's object store and the WAL's segments.
Package vfs is the filesystem seam the durable local paths write through: the file backend's object store and the WAL's segments.
crashmodel
Package crashmodel is the conformance suite for the crash model itself.
Package crashmodel is the conformance suite for the crash model itself.
faultfs
Package faultfs is a vfs.FS that models what a machine loses when it stops without warning, so a durability claim can be tested instead of argued.
Package faultfs is a vfs.FS that models what a machine loses when it stops without warning, so a durability claim can be tested instead of argued.
vfstest
Package vfstest is the conformance suite every vfs.FS must pass.
Package vfstest is the conformance suite every vfs.FS must pass.
Package watermark encodes a part's per-series durability watermark sidecar: the newest timestamp each series has in that part.
Package watermark encodes a part's per-series durability watermark sidecar: the newest timestamp each series has in that part.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL