Hello! I´m using a simple test configuration with nShards=1 without any replica. SolrCloudServer is suposed to forward properly those index/update operations, isn´t it? I test with a complete document reindexation, not atomic updates, using the official LBHttpSolrServer, not my custom BinaryLBHttpSolrServer, and it dosn´t work. I think is not just a bug related with atomic updates via CloudSolrServer but a general bug when an index changes with reindexations/updates frequently.
Regards, - Luis Cappa. 2012/11/22 Sami Siren <ssi...@gmail.com> > It might even depend on the cluster layout! Let's say you have 2 shards (no > replicas) if the doc belongs to the node you send it to so that it does not > get forwarded to another node then the update should work and in case where > the doc gets forwarded to another node the problem occurs. With replicas it > could appear even more strange: the leader might have the doc right and the > replica not. > > I only briefly looked at the bits that deal with this so perhaps there's > something more involved. > > > On Thu, Nov 22, 2012 at 8:29 PM, Luis Cappa Banda <luisca...@gmail.com > >wrote: > > > Hi, Sami! > > > > But isn´t strange that some documents were updated (atomic updates) > > correctly and other ones not? Can´t it be a more serious problem like > some > > kind of index writer lock, or whatever? > > > > Regards, > > > > - Luis Cappa. > > > > 2012/11/22 Sami Siren <ssi...@gmail.com> > > > > > I think the problem is that even though you were able to work around > the > > > bug in the client solr still uses the xml format internally so the > atomic > > > update (with multivalued field) fails later down the stack. The bug you > > > filed needs to be fixed to get the problem solved. > > > > > > > > > On Thu, Nov 22, 2012 at 8:19 PM, Luis Cappa Banda <luisca...@gmail.com > > > >wrote: > > > > > > > Hello everyone. > > > > > > > > I´ve starting to seriously worry about with SolrCloud due an strange > > > > behavior that I have detected. The situation is this the following: > > > > > > > > *1.* SolrCloud with one shard and two Solr instances. > > > > *2.* Indexation via SolrJ with CloudServer and a custom > > > > BinaryLBHttpSolrServer that uses BinaryRequestWriter to execute > > correctly > > > > atomic updates. Check > > > > JIRA-4080< > > > > > > > > > > https://issues.apache.org/jira/browse/SOLR-4080?focusedCommentId=13498055&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13498055 > > > > > > > > > *3.* An asynchronous proccess updates partially some document fields. > > > After > > > > that operation I automatically execute a commit, so the index must be > > > > reloaded. > > > > > > > > What I have checked is that both using atomic updates or complete > > > document > > > > reindexations* aleatory documents are not updated* *even if I saw > > > debugging > > > > how the add() and commit() operations were executed correctly* *and > > > without > > > > errors*. Has anyone experienced a similar behavior? Is it posible > that > > if > > > > an index update operation didn´t finish and CloudSolrServer receives > a > > > new > > > > one this second update operation doesn´t complete? > > > > > > > > Thank you in advance. > > > > > > > > Regards, > > > > > > > > -- > > > > > > > > - Luis Cappa > > > > > > > > > > > > > > > -- > > > > - Luis Cappa > > > -- - Luis Cappa