blobbackfill

package
v0.19.1302 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	WorkflowName    = "BackfillBlobs"
	DayWorkflowName = "BackfillBlobsDay"
	WorkflowID      = "general-blob-backfill"

	ProgressQueryType = "progress"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DayBucket

type DayBucket struct {
	Table string `json:"table"`
	Day   string `json:"day"`
}

DayBucket is one unit of work: one table on one UTC calendar day.

type DayRequest

type DayRequest struct {
	Table string `json:"table"`
	Day   string `json:"day"`
}

type DayResult

type DayResult struct {
	Processed int64 `json:"processed"`
}

type Progress

type Progress struct {
	CurrentTable string           `json:"current_table"`
	CurrentDay   string           `json:"current_day"`
	DaysTotal    int              `json:"days_total"`
	DaysDone     int              `json:"days_done"`
	Processed    map[string]int64 `json:"processed"`
	Done         bool             `json:"done"`
}

Progress is the live snapshot returned by the parent's progress query.

type RangeRequest

type RangeRequest struct {
	Tables      []string         `json:"tables"`
	Initialized bool             `json:"initialized"`
	Pending     []DayBucket      `json:"pending"`
	Processed   map[string]int64 `json:"processed"`
	DaysTotal   int              `json:"days_total"`
	DaysDone    int              `json:"days_done"`
}

RangeRequest is the parent orchestrator input. Callers populate only Tables; the parent fills in the rest and carries it across continue-as-new.

Jump to

Keyboard shortcuts

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