\Drupal\strata\Health\Tripwire RefMissing

The local index names commits the store has no ref for.

A verify pass walks back from a ref, so a store whose ref is gone has nothing to walk and reads as an empty history. That is indistinguishable from a fresh install by looking at the bucket alone, and it is the state a wiped bucket or a lifecycle rule with the wrong prefix leaves behind - the worst possible moment to be told everything is fine.

The local index is what separates the two. It is derived from the bucket and dropped by an uninstall, so rows in it are evidence that commits existed. Rows present and no ref means the objects went, not that they were never written.

Summary

Methods
Properties
Constants
code
check
No public properties found
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

Methods

code()

code() : string

The stable dotted code every finding from this tripwire reports under.

Returns

string —

For example "frame.digest_mismatch".

check()

check(array  $observation) : \Drupal\strata\Health\Finding|null

Evaluates the check against one observation.

Parameters

array $observation

Scalars the caller already had in hand. A tripwire reads from this and nothing else.

Returns

\Drupal\strata\Health\Finding|null —

A finding when the symptom is present, or NULL when the check is satisfied.