Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 91655 invoked from network); 30 Jul 2006 10:53:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jul 2006 10:53:43 -0000 Received: (qmail 91272 invoked by uid 500); 30 Jul 2006 10:53:43 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 91226 invoked by uid 500); 30 Jul 2006 10:53:43 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 91215 invoked by uid 99); 30 Jul 2006 10:53:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 03:53:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 03:53:42 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BC0CD41000A for ; Sun, 30 Jul 2006 10:51:14 +0000 (GMT) Message-ID: <18124510.1154256674767.JavaMail.jira@brutus> Date: Sun, 30 Jul 2006 03:51:14 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-685) Modification on an entry should always be flushed to the disk In-Reply-To: <7095736.1154256433900.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-685?page=comments#action_12424375 ] Emmanuel Lecharny commented on DIRSERVER-685: --------------------------------------------- In fact, there is an existing flag (synchOnWrite) which has been created to implement this behavious, but it's always set to false, so we never have synchornization on write. This flag should be set to true by default, and the server.xml configuration may contains a way to modify this value to false (even if this seems obviously dangerous to do so ...) > Modification on an entry should always be flushed to the disk > ------------------------------------------------------------- > > Key: DIRSERVER-685 > URL: http://issues.apache.org/jira/browse/DIRSERVER-685 > Project: Directory ApacheDS > Issue Type: New Feature > Reporter: Emmanuel Lecharny > Priority: Critical > > When modifying an entry, we should always flush this entry to the disk. > The JDBM backend, AFAIK, only update its cache, and a thread flush those caches periodicaly. However, I may be wrong (and I hope to be wrong :) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira