Documentation ¶
Overview ¶
Package seriesfile verifies integrity of series files.
Index ¶
- type Command
- type IDData
- type 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Verify ¶
Verify contains configuration for running verification of series files.
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.