code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A bucket history is spread across could not be reached.
The reason this is a finding rather than a log line is that the alternative is a verify pass reporting clean. A pass that walked what it could read and said nothing about the tier it could not would answer "the backup is fine" about a bucket it never opened, and a far tier is exactly where the history nobody has read for a year lives.
Raised at ERROR rather than CRITICAL, and only ERROR, because an unreachable bucket is usually credentials or a network and is almost always fixable without touching the data. What makes it serious is what it blocks: a prune refuses while the walk is incomplete, and a restore that needs that tier cannot run.
check(array $observation) : \Drupal\strata\Health\Finding|null
Evaluates the check against one observation.
| array | $observation | Scalars the caller already had in hand. A tripwire reads from this and nothing else. |
A finding when the symptom is present, or NULL when the check is satisfied.