[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-250) In ReaderStrategies, ensure that the reader is current AND that the directory returned by the DirectoryProvider are the same
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Wed Nov 5 15:19:05 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31615#action_31615 ]
Hardy Ferentschik commented on HSEARCH-250:
-------------------------------------------
* Refactored SharingBufferReaderprovider to cache reader per directory not per direcory provider since some providers have more than one directory (eg FSSlaveDirectoryProvider). The refactoring ment that now not all directories/readers can be initalised in the initialize() mehod. Some readers can only be initilized when the provider switched to a new directory.
* Updated tests
Changes should be reviewed though.
> In ReaderStrategies, ensure that the reader is current AND that the directory returned by the DirectoryProvider are the same
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: HSEARCH-250
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-250
> Project: Hibernate Search
> Issue Type: Bug
> Affects Versions: 3.1.0.Beta1
> Reporter: Emmanuel Bernard
> Assignee: Hardy Ferentschik
> Priority: Critical
> Fix For: 3.1.0.CR1
>
>
> When using the cluster mode, s slave has an active copy (current) and a passive copy of a Directory.
> In ReaderStrategy, we ensure the IndexReader is current but we do not ensure the Directory is the active one.
--
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