package seriesfile
import "github.com/influxdata/influxdb/cmd/influx_inspect/verify/seriesfile"
Package seriesfile verifies integrity of series files.
Index ¶
- type Command
- type IDData
- type Verify
- func NewVerify() Verify
- func (v Verify) VerifyIndex(indexPath string, segments []*tsdb.SeriesSegment, ids map[uint64]IDData) (valid bool, err error)
- func (v Verify) VerifyPartition(partitionPath string) (valid bool, err error)
- func (v Verify) VerifySegment(segmentPath string, ids map[uint64]IDData) (valid bool, err error)
- func (v Verify) VerifySeriesFile(filePath string) (valid bool, err error)
Types ¶
type Command ¶
Command represents the program execution for "influx_inspect verify-seriesfile".
func NewCommand ¶
func NewCommand() *Command
NewCommand returns a new instance of Command.
func (*Command) Run ¶
Run executes the command.
type IDData ¶
IDData keeps track of data about a series ID.
type Verify ¶
Verify contains configuration for running verification of series files.
func NewVerify ¶
func NewVerify() Verify
NewVerify constructs a Verify with good defaults.
func (Verify) VerifyIndex ¶
func (v Verify) VerifyIndex(indexPath string, segments []*tsdb.SeriesSegment, ids map[uint64]IDData) (valid bool, err error)
VerifyIndex performs verification on an index in a series file. The error is only returned if there was some fatal problem with operating, not if there was a problem with the partition. The ids map must be built from verifying the passed in segments.
func (Verify) VerifyPartition ¶
VerifyPartition performs verifications on a partition of a series file. The error is only returned if there was some fatal problem with operating, not if there was a problem with the partition.
func (Verify) VerifySegment ¶
VerifySegment performs verifications on a segment of a series file. The error is only returned if there was some fatal problem with operating, not if there was a problem with the partition. The ids map is populated with information about the ids stored in the segment.
func (Verify) VerifySeriesFile ¶
VerifySeriesFile performs verifications on a series file. The error is only returned if there was some fatal problem with operating, not if there was a problem with the series file.
Source Files ¶
- Version
- v1.12.0 (latest)
- Published
- Apr 8, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 2 days ago –
Tools for package owners.