buildtsi

package
v1.7.672 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package buildtsi reads an in-memory index and exports it as a TSI index.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexShard added in v1.7.0

func IndexShard(sfile *tsdb.SeriesFile, dataDir, walDir string, maxLogFileSize int64, maxCacheSize uint64, batchSize int, log *zap.Logger, verboseLogging bool) error

func IndexTSMFile added in v1.7.0

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

func (cmd *Command) Run(args ...string) error

Run executes the command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL