Skip to main content

Documentation Index

Fetch the complete documentation index at: https://hexxladb.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

HealthCheck

Integrity scan: cell count, seam resolution summary, orphaned seam detection, index consistency, MVCC stats.
report, err := db.HealthCheck(ctx, hexxladb.DefaultHealthCheckConfig)

HealthCheckConfig

type HealthCheckConfig struct {
    CheckOrphans      bool
    CheckTagIndex     bool
    CheckSourceIndex  bool
    MaxErrors         int
}
DefaultHealthCheckConfig returns config with all checks enabled.

HealthReport

type HealthReport struct {
    CellCount          int
    SeamCount          int
    SeamsResolved      int
    SeamsUnresolved    int
    OrphanedSeams      int
    TagIndexErrors     int
    SourceIndexErrors  int
    MVCCStats          MVCCStats
    Warnings           []string
}

Health check workflow

  1. Run health check before releases
  2. Run after storage/MVCC changes
  3. Run periodically in production for monitoring

See also

  • Backups — Backup and restore procedures