follower

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCreator

type ClientCreator struct {
	Cfg *Config
}

ClientCreator creates follower client

func (ClientCreator) Create

func (l ClientCreator) Create(node cluster.ClientNode) core.Client

Create creates FollowerReadClient

type Config

type Config struct {
	DBName           string
	Concurrency      int
	Switch           bool
	SeqLoop          int
	SplitRegionRange int
	InsertNum        int
	EnableSplit      bool
}

Config for follower read test

Jump to

Keyboard shortcuts

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