KamoCRM

Backfill-conversions walks every office doc without a PDF, by org

FixConversionService
Shipped
November 13, 2026 at 8:29 AM UTC
Author
Kamo
Commit
9c7c186

The backfill paged the first 500 img_dats of the whole table through Hibernate, filtered for is_converted=false (images and audio included), and retried the same failing 25 forever, so it could never reach most documents. It also never touched office dats an older pipeline flagged converted with no rendition. Now it selects by SQL: office and text mimes (ordinals) with no converted_dat_id, not refused as too large, ordered by id with an afterId session converts only its own organisation; a cluster caller with X-Internal-Auth may pass orgId or run every organisation. Nothing is deleted.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing