[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
Sanne Grinovero (JIRA)
noreply at atlassian.com
Thu Nov 6 10:17:07 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31627#action_31627 ]
Sanne Grinovero commented on HSEARCH-250:
-----------------------------------------
this work looks very good to me;
I've removed some calls to directoryProvider.getDirectory()
in openReader(...) as the result may change (it's called only once now).
If you don't like the map to be mutable we could need a method "getAllDirectories"
in DirectoryProvider (as in shard). this could finetune the structure a bit (and size it properly)
but I doubt it would be a grand improvement.
> 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