Documentation
¶
Overview ¶
Package main wires the hostthis daemon: SSH server, HTTP server, storage and the periodic blob-GC sweep, configured from flags and HOSTTHIS_* env.
Env parsing for the /readyz mount floor (docs/SPEC.md "Readiness vs liveness"). Kept OUTSIDE the slatedb build tag even though its only consumer (buildMetadataShale) is tagged: the parse contract is pure env+float logic, so untagged lets the default test suite pin it without the slatedb toolchain or MinIO.
shale_coordinator.go - coordinator selection and the retired-knob refusal. Untagged for the same reason as shale_timeouts.go: the consumer compiles only with -tags slatedb, but the parse contract is pure env logic the default suite can pin.
shale_timeouts.go - env parsing for the shale cluster's per-dispatch read/write deadlines (docs/SPEC.md "Dispatch deadlines: the read/write timeout knobs"). Deliberately OUTSIDE the slatedb build tag: the consumer (metadata_shale.go's openShaleRepoFromEnv) only compiles with -tags slatedb, but the parse contract is pure env+time logic, so staying untagged lets the default test suite pin it without the slatedb toolchain or MinIO.
shale_tombstone.go - env parsing for the shale tombstone-purge grace window (docs/SPEC.md "Tombstone purge: reclaiming replicated deletes"). Untagged for the same reason as shale_timeouts.go: the consumer only compiles with -tags slatedb, but the parse contract is pure env+time logic the default test suite can pin.