Documentation ¶
Index ¶
- Constants
- func ShardTable(ctx context.Context, truthConn dbconn.Conn, tbl tableverify.Result, ...) ([]rowverify.TableShard, error)
- func Verify(ctx context.Context, conns dbconn.OrderedConns, logger zerolog.Logger, ...) error
- type VerifyOpt
- func WithConcurrency(c int) VerifyOpt
- func WithContinuous(c bool, pauseLength time.Duration) VerifyOpt
- func WithDBFilter(filter utils.FilterConfig) VerifyOpt
- func WithLive(live bool, settings rowverify.LiveReverificationSettings) VerifyOpt
- func WithRowBatchSize(c int) VerifyOpt
- func WithRows(b bool) VerifyOpt
- func WithRowsPerSecond(c int) VerifyOpt
- func WithTableSplits(c int) VerifyOpt
- func WithTestOnly(b bool) VerifyOpt
Constants ¶
View Source
const DefaultConcurrency = 8
View Source
const DefaultRowBatchSize = 1000
View Source
const DefaultTableSplits = 8
Variables ¶
This section is empty.
Functions ¶
func ShardTable ¶ added in v0.1.1
func ShardTable( ctx context.Context, truthConn dbconn.Conn, tbl tableverify.Result, reporter inconsistency.Reporter, numSplits int, ) ([]rowverify.TableShard, error)
Types ¶
type VerifyOpt ¶
type VerifyOpt func(*verifyOpts)
func WithConcurrency ¶
func WithDBFilter ¶
func WithDBFilter(filter utils.FilterConfig) VerifyOpt
func WithRowBatchSize ¶
func WithRowsPerSecond ¶
func WithTableSplits ¶
func WithTestOnly ¶ added in v0.1.1
Directories ¶
Path | Synopsis |
---|---|
Package dbverify is responsible for verifying two different databases match.
|
Package dbverify is responsible for verifying two different databases match. |
Click to show internal directories.
Click to hide internal directories.