audit

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package audit contains the audit action.

This actions searches for data problems in remote object storage. Currently, it looks for the following problems:

  • Hours for which there a multiple archive files. These need to be merged.
  • Data stored in one remote replica but not another. This data needs to be copied to all replicas.

The action optionally fixes the problems it encounters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunOnce

func RunOnce(session *actions.Session, startOpt *hour.Hour, end hour.Hour, enforceMerging, enforceCompression, fix bool) error

RunOnce runs the audit action once, optionally fixing problems it finds.

func RunPeriodically

func RunPeriodically(session *actions.Session, enforceMerging bool)

RunPeriodically runs the audit action once every hour, at 35 minutes past the hour, and fixes any problems it encounters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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