directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-1773) We should not store replication cookies in config if we use a SingleFileLdifPartition
Date Sat, 01 Dec 2012 07:09:58 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507890#comment-13507890
] 

Emmanuel Lecharny commented on DIRSERVER-1773:
----------------------------------------------

We may also improve the way we use the SingleFileLdifPartition, by using a MemoryMappedFile
over it...
                
> We should not store replication cookies in config if we use a SingleFileLdifPartition
> -------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1773
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1773
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M8
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0-M9
>
>
> Although it's convenient, storing the cookie in the config file is really a big hassle
when the configuration is stored using the SingleFileLdifPartition : we will flush this big
file on disk for every modification the server receives...
> IMO, it's ok if the config is based on the LdifPartition, but otherwise, it's simply
overkilling. 
> Another solution would be to store the cookies on disk as separate files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message