[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-440) FSSlaveDirectoryProvider creates a wrong index directory in case the current marker file does not exist

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri Jan 8 13:00:29 EST 2010


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/hibernate/search/store/FSSlaveDirectoryProvider.java?r=17630#l118

{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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list