[
https://issues.apache.org/jira/browse/SOLR-3681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423420#comment-13423420
]
Phani Vempaty commented on SOLR-3681:
-------------------------------------
The Replication Handler response for the Index Version is based as ::
{code}
// always returns 0 as index version
rsp.add(CMD_INDEX_VERSION,
IndexDeletionPolicyWrapper.getCommitTimestamp(commitPoint));
{code}
{code}
// This returns another version number which is same as the one for admin core
Directory directory = commitPoint.getDirectory();
DirectoryReader directoryReader = DirectoryReader.open(directory);
rsp.add(CMD_INDEX_VERSION, directoryReader.getVersion());
{code}
> 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
> Environment: MAC OSX Darwin
> Reporter: Phani Vempaty
> Priority: Critical
> Fix For: 4.0
>
>
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]