Ok, I did get a little more information about it from here:
http://yonik.com/solr/optimistic-concurrency/ but I really don't know why
the version number is conflicting. I'm running the only process that is
changing documents, and my process is to read the document, add a field,
and write the document. The records were all created at the same time with
similar data, and are all being updated for the first time, again with
similar data.

I did happen to stumble on the atomic updates feature, which is new to me,
and is probably a better way to do what I need.


On Mon, Jan 28, 2013 at 4:05 PM, Paul <p...@nines.org> wrote:

> I've got a process that is replacing about 180K documents that are all
> similar (I'm actually just adding one field to each of them). This is
> mostly working fine, but occasionally (perhaps 100 times), I get this error:
>
> 409 Conflict
> Error:
> {'responseHeader'=>{'status'=>409,'QTime'=>1},'error'=>{'msg'=>'version
> conflict for lib://XXXXXXXXX expected=1425089660734930944
> actual=1425439751468482560','code'=>409}}
>
> Why does that happen a few times? How can I prevent that from happening?
>
> Is there any other info I can supply that would help the diagnosis?
>
> Thanks!
>
>

Reply via email to