Re-index blob content (files, attachments) that didn't index due to doctotext path

Bug #1169199 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Won't Fix
Low
Tres Seaver

Bug Description

lp:1081104 showed that deployment via Fabric causes the path to doctotext to get lost. This probably means we have a bunch of content that didn't get indexed.

Specs
- Can be run several times
- Avoid production conflict errors, so run in chunks
- Works for File objects and anything with attachments (blog posts, comments)
- Discardable (doesn't need to be a permanent feature of the software)

I propose writing something that can run in karlserve debug. Just a script in /tmp. Throw it away afterwards.

When you run it, it tells you how many have the problem, then reindexes the first 10 or so. You just keep running it manually until done. Alternatively, do subtransactions. Either way, avoid ConflictErrors with the production site.

With this approach (versus an evolve) we don't need to actually deploy software and schedule downtime.

Changed in karl3:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.