MCPcopy
hub / github.com/github/gh-ost / MaxRetries

Method MaxRetries

go/base/context.go:499–504  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

497}
498
499func (mctx *MigrationContext) MaxRetries() int64 {
500 mctx.throttleMutex.Lock()
501 defer mctx.throttleMutex.Unlock()
502 retries := mctx.defaultNumRetries
503 return retries
504}
505
506func (mctx *MigrationContext) IsTransactionalTable() bool {
507 switch strings.ToLower(mctx.TableEngine) {

Callers 7

TestMigratorRetryFunction · 0.95
retryOperationMethod · 0.80
AttemptInstantDDLMethod · 0.80
InitiateHeartbeatMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestMigratorRetryFunction · 0.76