FSSlaveDirectoryProvider creates a wrong index directory in case the current marker file
does not exist
-------------------------------------------------------------------------------------------------------
Key: HSEARCH-440
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-440
Project: Hibernate Search
Issue Type: Bug
Components: directory provider
Affects Versions: 3.2.0.Beta1
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
Fix For: 3.2.0.Beta2
https://forum.hibernate.org/viewtopic.php?t=1001927
http://fisheye.jboss.org/browse/Hibernate/search/trunk/src/main/java/org/...
{code}
currentToBe = 1;
File destinationFile = new File( indexDir, Integer.valueOf( readCurrentState ).toString()
);
{code}
should be
{code}
currentToBe = 1;
File destinationFile = new File( indexDir, Integer.valueOf( currentToBe ).toString() );
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira