Comment 4 for bug 1584148

Revision history for this message
Steve McLellan (sjmc7) wrote :

Haven't 100% confirmed but my spidey senses tell me this is because of the optimization for --type. When you specify --type Designate::Zone searchlight-manage first copies any other doc types over, including in this case OS::Designate::RecordSet. During Zone indexing, the recordsets are once more stored except that since they're the same versions there's a conflict error.

Fix is either to force reindexing all child documents when parents are reindexed (which I'm not particularly fond of) or skip the child indexing under these circumstances. What I'll actually probably do is provide a flag to say "index all children of any --type arguments too".