lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3681) Index Version incompatibility between DirectoryReader and CommitPoint
Date Sat, 08 Sep 2012 04:16:07 GMT

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

Hoss Man commented on SOLR-3681:
--------------------------------

I'm not an expert on replication, but i'm pretty sure this is working as designed.

As noted in the comment above the lines in question...

{noformat}
// This command does not give the current index version of the master
// It gives the current 'replicateable' index version
{noformat}

I believe it's important this this code return the information that it does, based on the
specific commitPoint -- i'm pretty sure if it was changed along the lines of your patch, it
would return the most current commit point on disk, even if that was not a commit point intended
for replication.

(FWIW: I think we would also lead a Directory with your patch)

What you see in the admin UI on the otherhand is the latest commit - regardless of when/why/if
it's available for replication.

One other comment...

bq. http://master_host/solr/core_name/replication?command=indexversion ... always shows 0
as index version ...

I can't reproduce this.  It's pretty trivial to see command=indexversion return a non-0 response
in some simple tests, so can you please provide more details about your setup?  what exactly
does your solrconfig.xml look like, and what types of operations are you trying that leave
you with an indexversion of 0?
                
> Index Version incompatibility between DirectoryReader and CommitPoint
> ---------------------------------------------------------------------
>
>                 Key: SOLR-3681
>                 URL: https://issues.apache.org/jira/browse/SOLR-3681
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 4.0-BETA
>         Environment: MAC OSX Darwin
>            Reporter: Phani Vempaty
>            Priority: Critical
>             Fix For: 4.0
>
>         Attachments: replication_handler.patch
>
>
> There is incompatibility between Index version from Admin core & from the response
of a particular index url
> For example:,
> http://master_host/solr/core_name/replication?command=indexversion ... always shows 0
as index version whereas the version in admin shows other version.

--
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


Mime
View raw message