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] [Resolved] (DIRSERVER-1321) Clarify relationship between partition.syncOnWrite and apacheDS.syncPeriodMillis configuration attributes
Date Mon, 25 Feb 2013 16:02:13 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRSERVER-1321.
------------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.0-RC1)
                   2.0.0-M11

We don't use anymore the SyncWorker, thus the syncMillis parameter is not used anymore.
                
> Clarify relationship between partition.syncOnWrite and apacheDS.syncPeriodMillis configuration
attributes 
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1321
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1321
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.4
>            Reporter: Alex Karasulu
>             Fix For: 2.0.0-M11
>
>
> Right now a partition can be configured to sync to disk on each write operation.  This
is a per partition configuration parameter.  Then there is this system wide syncPeriodMillis
parameter which can be set to sync up all the partitions on some interval specified.  When
0 no sync requests to the core are made.  
> The question is does this system wide parameter bypass per partition syncOnWrite settings?

> This solution really stinks because the configuration is spread across two parts of the
server and the correlation is hard to grasp because of this.  Eventually we need to centralize
the schedular service (Quartz) to have each partition register for cyclic triggers that allow
it to sync up writes periodically if that is preferred.  Otherwise it syncs when each write
occurs.  We can thus get ride of this syncOnWrite attribute for partitions and just have a
syncMillis parameter.  If set to 0 then syncs occur on each write.  If set to some interval
then writes to disk will be cached.

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