very fast at protocol indexer with flexible filtering, xrpc queries, cursor-backed event stream, and more, built on fjall
rust fjall at-protocol atproto indexer

[db] keep a shutdown during startup out of the error log master

an embedder shuts its runtime down before calling Hydrant::shutdown, so a shutdown that lands during startup cancels the blocking task that queues gone backfills, and run logged `failed to queue gone backfills err=task N was cancelled` as an error. spindle restarts hydrant every round, so it showed up in spindle's logs. db.run returns a Cancelled error for work its runtime cancelled now, and run lets that one go quietly, since the next start queues them anyway. checking stop instead wouldn't catch it, because the runtime goes down before stop is set.


+38 -7
2 changed files