<table><tr><td style="">davidedmundson created this revision.<br />Herald added projects: Frameworks, Baloo.<br />Herald added subscribers: Baloo, kde-frameworks-devel.<br />davidedmundson requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25583">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently I have a broken DB, the worst part is that I'm in a 100% CPU<br />
loop.</p>

<p>baloo-file runs, sees some files need phase 2 extraction, and launches<br />
the extractor. The extractor fails to update the DB which means they're<br />
never marked as complete or failed.</p>

<p>baloo-file then keeps sending the same files</p>

<p>By having the extractor bail, it at least stops.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Ran baloo-file<br />
It fails for 20 files or so (one batch) then stops</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R293 Baloo</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25583">https://phabricator.kde.org/D25583</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/engine/transaction.cpp<br />
src/engine/transaction.h<br />
src/file/extractor/app.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson<br /><strong>Cc: </strong>kde-frameworks-devel, Baloo, hurikhan77, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams<br /></div>