\Drupal\strata\Verify ReindexReport

What one reindex rebuilt.

Read to answer the question the operation exists for: is the index back, and does it describe the same history the bucket holds. Skipped counts are the part to look at - an object the walk could not use is a restore target that is not coming back, and reporting it as a success would be worse than failing.

Summary

Methods
Properties
Constants
__construct
isClean
summary
jsonSerialize
commits
packs
frames
references
segments
skipped
problems
seconds
placements
branches
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Properties

$commits

$commits : int

Type

int

$packs

$packs : int

Type

int

$frames

$frames : int

Type

int

$references

$references : int

Type

int

$segments

$segments : int

Type

int

$skipped

$skipped : int

Type

int

$problems

$problems : array

Type

array<string|int, mixed>

$seconds

$seconds : float

Type

float

$placements

$placements : int

Type

int

$branches

$branches : int

Type

int

Methods

__construct()

__construct(int  $commits = 0, int  $packs = 0, int  $frames = 0, int  $references = 0, int  $segments = 0, int  $skipped = 0, list  $problems = [], float  $seconds = 0.0, int  $placements = 0, int  $branches = 0) : mixed

Constructs a report.

Parameters

int $commits

Commit rows written.

int $packs

Pack objects read for their frame directories.

int $frames

Frame rows written.

int $references

Reference counts attributed by reading the segments the refs reach.

int $segments

Segment manifests read.

int $skipped

Objects the walk could not use.

list $problems

One line per skipped object, naming the key and the reason.

float $seconds

How long the rebuild took.

int $placements

Object placements recorded, on a store spread across several buckets. Zero on a store with one destination, where every object is in the only place it could be.

int $branches

Branch rows written from the refs and the metadata objects beside them.

Returns

mixed —

isClean()

isClean() : bool

Whether every object the walk met was usable.

Returns

bool —

TRUE when nothing was skipped.

summary()

summary() : string

A one-line summary for a log entry or a command's output.

Returns

string —

The summary.

jsonSerialize()

jsonSerialize() : array<string,mixed>

{@inheritdoc}

Returns

array

The report as a plain array.