package buildtsi
import "github.com/influxdata/influxdb/cmd/influx_inspect/buildtsi"
Package buildtsi reads an in-memory index and exports it as a TSI index.
Index ¶
- func IndexShard(sfile *tsdb.SeriesFile, dataDir, walDir string, maxLogFileSize int64, maxCacheSize uint64, batchSize int, log *zap.Logger, verboseLogging bool) error
- func IndexTSMFile(index *tsi1.Index, path string, batchSize int, log *zap.Logger, verboseLogging bool) error
- type Command
Functions ¶
func IndexShard ¶
func IndexShard(sfile *tsdb.SeriesFile, dataDir, walDir string, maxLogFileSize int64, maxCacheSize uint64, batchSize int, log *zap.Logger, verboseLogging bool) error
func IndexTSMFile ¶
func IndexTSMFile(index *tsi1.Index, path string, batchSize int, log *zap.Logger, verboseLogging bool) error
Types ¶
type Command ¶
type Command struct { Stderr io.Writer Stdout io.Writer Verbose bool Logger *zap.Logger // contains filtered or unexported fields }
Command represents the program execution for "influx_inspect buildtsi".
func NewCommand ¶
func NewCommand() *Command
NewCommand returns a new instance of Command.
func (*Command) Run ¶
Run executes the command.
Source Files ¶
- Version
- v1.12.0 (latest)
- Published
- Apr 8, 2025
- Platform
- linux/amd64
- Imports
- 19 packages
- Last checked
- 2 days ago –
Tools for package owners.