Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scavenger ¶
Scavenger is the type that holds the state for history scavenger daemon
func NewScavenger ¶
func NewScavenger( numShards int32, db persistence.ExecutionManager, rps int, client historyservice.HistoryServiceClient, adminClient adminservice.AdminServiceClient, registry namespace.Registry, hbd ScavengerHeartbeatDetails, historyDataMinAge dynamicconfig.DurationPropertyFn, executionDataDurationBuffer dynamicconfig.DurationPropertyFn, enableRetentionVerification dynamicconfig.BoolPropertyFn, metricsHandler metrics.Handler, logger log.Logger, ) *Scavenger
NewScavenger returns an instance of history scavenger daemon The Scavenger can be started by calling the Run() method on the returned object. Calling the Run() method will result in one complete iteration over all of the history branches in the system. For each branch, the scavenger will attempt
- describe the corresponding workflow execution
- deletion of history itself, if there are no workflow execution
Click to show internal directories.
Click to hide internal directories.