syscontrol

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataFlush = "flush"

	ChunkReaderParallel = "chunk_reader_parallel"
	BinaryTreeMerge     = "binary_tree_merge"
	PrintLogicalPlan    = "print_logical_plan"
	SlidingWindowPushUp = "sliding_window_push_up"
	ForceBroadcastQuery = "force_broadcast_query"
	Failpoint           = "failpoint"
	Readonly            = "readonly"
	LogRows             = "log_rows"
)

Variables

View Source
var (
	LogRowsRuleSwitch int32 // 0: disable, 1: enable
	MuLogRowsRule     sync.RWMutex
	MyLogRowsRule     = &LogRowsRule{
		Mst: "",
	}
)
View Source
var (
	QueryParallel int32 = -1
)

Functions

func ProcessRequest

func ProcessRequest(req netstorage.SysCtrlRequest, resp *strings.Builder) (err error)

func SetLogRowsRuleSwitch

func SetLogRowsRuleSwitch(switchon bool, rules string) error

func SetQueryParallel

func SetQueryParallel(limit int64)

Types

type LogRowsRule

type LogRowsRule struct {
	Mst  string
	Tags map[string]string
}

type SysControl

type SysControl struct {
	MetaClient meta.MetaClient
	NetStore   netstorage.Storage
}
var SysCtrl *SysControl

func NewSysControl

func NewSysControl() *SysControl

Jump to

Keyboard shortcuts

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