[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-187) Clarify which directories need read-write access, verify readonly behaviour on others.

Sanne Grinovero (JIRA) noreply at atlassian.com
Sun Apr 27 12:02:33 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30076 ] 

Sanne Grinovero commented on HSEARCH-187:
-----------------------------------------

I've bean reading the source and concluded that only the source for FSSlaveDirectoryProvider may omit write capabilities;
I'll wait for Emmanuel to close [this] to confirm my readings.

As a side note, I've updated the patch for HSEARCH-181 according to this idea, if someone disagrees about this the patch would need to be updated.

> Clarify which directories need read-write access, verify readonly behaviour on others.
> --------------------------------------------------------------------------------------
>
>                 Key: HSEARCH-187
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-187
>             Project: Hibernate Search
>          Issue Type: Task
>          Components: directory provider
>            Reporter: Sanne Grinovero
>            Assignee: Emmanuel Bernard
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> Because of proposed changes for HSEARCH-181 all FSDirectoryProvider, FSMasterDirectoryProvider and FSSlaveDirectoryProvider are verified to be writable (see DirectoryProviderHelper).
> One could need one of them in "readonly" mode, and maybe for one of these the requirement to be writable is too restrictive.
> Also Emmanuel proposed we could throw an exception if someone tries to change the readonly one. (which one is that?)

-- 
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