package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
DecodeID decodes ID stored in the PTS record.
GetMetaType return the value for the provided metaType that is used in the ptpb.Record.MetaType field for records associated with jobs/schedules.
MakeRecord makes a protected timestamp record to protect a timestamp on behalf of this job.
MakeStatusFunc returns a function which determines whether the job or schedule implied with this value of meta should be removed by the reconciler.
NewManager creates a new protected timestamp manager for jobs.
# Structs
Manager manages protected timestamps installed for jobs, which will install protected timestamps after a certain percentage of the GC interval is hit.