You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2012/12/01 08:07:57 UTC
[jira] [Created] (DIRSERVER-1773) We should not store replicatio
cookies in config if we use a one file config
Emmanuel Lecharny created DIRSERVER-1773:
--------------------------------------------
Summary: We should not store replicatio cookies in config if we use a one file config
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
[jira] [Commented] (DIRSERVER-1773) We should not store replication
cookies in config if we use a SingleFileLdifPartition
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507891#comment-13507891 ]
Emmanuel Lecharny commented on DIRSERVER-1773:
----------------------------------------------
Hmmm, memoryMappedFile might not be useful : if the entry we want to change grows, we need to update the file entirely...
> 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
[jira] [Updated] (DIRSERVER-1773) We should not store replication
cookies in config if we use a SingleFileLdifPartition
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1773:
-----------------------------------------
Summary: We should not store replication cookies in config if we use a SingleFileLdifPartition (was: We should not store replicatio cookies in config if we use a one file config)
> 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
[jira] [Commented] (DIRSERVER-1773) We should not store replication
cookies in config if we use a SingleFileLdifPartition
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ 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