You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joseph Dale (JIRA)" <ji...@apache.org> on 2013/01/24 14:17:13 UTC

[jira] [Comment Edited] (SOLR-4343) Solrcloud 4.1 inconsistent # of results in replicas

    [ https://issues.apache.org/jira/browse/SOLR-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561610#comment-13561610 ] 

Joseph Dale edited comment on SOLR-4343 at 1/24/13 1:15 PM:
------------------------------------------------------------

I just ran the process. There is nothing in the logs but a few OOMs on the replica.
Master core info:

lastModified:    2 minutes ago
version:    110290
numDocs:    93835
maxDoc:    93857 

Non Master: 

lastModified:3 minutes ago
version: 44711
numDocs: 91994
maxDoc: 92009
deletedDocs: 15 

>From solrconfig.xml:
 <autoSoftCommit> 
       <maxTime>1000</maxTime>
	   <maxDocs>1</maxDocs>
       <openSearcher>false</openSearcher>
     </autoSoftCommit>
     
     <autoCommit>
     	<maxTime>15000</maxTime>
		<maxDocs>1000</maxDocs>
     	<openSearcher>false</openSearcher>
     </autoCommit>

>From clusterstate.json:
 "geo-us":{
    "shards":{"shard1":{"replicas":{
          "192.168.50.2:8080_solr_geo-us":{
            "shard":"shard1",
            "roles":null,
            "state":"active",
            "core":"geo-us",
            "collection":"geo-us",
            "node_name":"192.168.50.2:8080_solr",
            "base_url":"http://192.168.50.2:8080/solr",
            "leader":"true"},
          "192.168.50.3:8080_solr_geo-us":{
            "shard":"shard1",
            "roles":null,
            "state":"active",
            "core":"geo-us",
            "collection":"geo-us",
            "node_name":"192.168.50.3:8080_solr",
            "base_url":"http://192.168.50.3:8080/solr"}}}},
    "router":"implicit"}}
                
      was (Author: joey.dale):
    I just ran the process. There is nothing in the logs but a few OOMs on the replica.
Master core info:

lastModified:    2 minutes ago
version:    110290
numDocs:    93835
maxDoc:    93857 

Non Master: 

lastModified:3 minutes ago
version: 44711
numDocs: 91994
maxDoc: 92009
deletedDocs: 15 

>From solrconfig.xml:
 <autoSoftCommit> 
       <maxTime>1000</maxTime>
	   <maxDocs>1</maxDocs>
       <openSearcher>false</openSearcher>
     </autoSoftCommit>
     
     <autoCommit>
     	<maxTime>15000</maxTime>
		<maxDocs>1000</maxDocs>
     	<openSearcher>false</openSearcher>
     </autoCommit>

                  
> Solrcloud 4.1 inconsistent # of results in replicas 
> ----------------------------------------------------
>
>                 Key: SOLR-4343
>                 URL: https://issues.apache.org/jira/browse/SOLR-4343
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.1
>         Environment: Ubuntu12.04 / Java 1.7.11 / Tomcat7 / Zookeeper 3.4.5
>            Reporter: Joseph Dale
>            Priority: Critical
>
> I have a one shard collection, with one replica.
> I did a dataImport from my oracle DB.
> In the master, I have 93835 docs, in the non master 92627.
> I have tried http://machinename:8080/solr/collection/update/commit=true on the master, but the index does not replicate the replica.
> Also, the node list different generations of the core.
> I have left it alone for 2 hours and they never sync. Both nodes think that they are current, only on really is. I can reproduce this 100% of the time.
> -Joey

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org