OhMyBug

persistence/transactions

Read scoped wider than its decision

rare24 sightingsfirst seen October 2026

What goes wrong

A read is written to cover far more than the decision it feeds depends on. The result is correct, so nothing fails, but the cost is paid on every call and grows with data that could never change the answer. The author relies on the read staying as cheap as it was when the data was smaller and the calls were rarer.

Example

A completion check runs every few seconds and each run fetches the whole record, stored output included, to learn a single finished-or-not flag.

Not to be confused with

Not Limit Before Filter, where the returned result is itself wrong: here the answer is right and only the work done to reach it is unbounded.

Discovered by

Field notes · 5

Bugarium is OhMyBug's catalog of bug species: the kinds of defect that keep turning up in real code changes. Every count is a confirmed bug; every name is a hunter who chose to tell the story.