I think this is SOLR-4923 <https://issues.apache.org/jira/browse/SOLR-4923>, should be fixed in 4.4 (when it comes out) or grab the branch_4x branch from svn.
On 16 July 2013 14:12, giovanni.bricc...@banzai.it < giovanni.bricc...@banzai.it> wrote: > Hi > > I'm using solr version 4.3.1. I have a core with only one shard and three > replicas, say server1, server2 and server3. > Suppose server1 is currently the leader > > if I send an update to the leader everything works fine > > wget -O - --header='Content-type: text/xml' --post-data='<add><doc><field > name="sku">16910</field><field name="name" > update="set">yyyyyy</field></**doc></add>' > 'server1:8080/solr/mycore/**update?softCommit=true' > > querying server 1 server2 and server3 I see the right answer, always > "yyyyyy" > > if instead I do send an update to a replica, say server2 > > wget -O - --header='Content-type: text/xml' --post-data='<add><doc><field > name="sku">16910</field><field name="name" > update="set">zzzzz</field></**doc></add>' > 'server2:8080/solr/mycore/**update?softCommit=true' > > I see on server1 (leader) and server3 the correct value 'zzzzz' but > server2 continues to show the wrong value, yyyyy, untill I send a commit. > > Am I using correctly the update api? > > Thanks > > > Giovanni > > > >