Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 249B117F10 for ; Mon, 16 Mar 2015 08:27:44 +0000 (UTC) Received: (qmail 75410 invoked by uid 500); 16 Mar 2015 08:26:45 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 75352 invoked by uid 500); 16 Mar 2015 08:26:45 -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 75342 invoked by uid 99); 16 Mar 2015 08:26:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 08:26:45 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 209.85.212.182 as permitted sender) Received: from [209.85.212.182] (HELO mail-wi0-f182.google.com) (209.85.212.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 08:26:18 +0000 Received: by wibg7 with SMTP id g7so31103897wib.1 for ; Mon, 16 Mar 2015 01:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=WTOQgo+ozYgj7vi3IBvAWZuRtmUbJqeg1d3jrCET9x4=; b=vyLTpYYbXqEFggydOADkKQ954uv+xHwU70BDrTPrcq1cog2JZpGo8/0hEa4o32eY+0 jnlg7aGHpDQoNQG12AXyMpEUU4i1DK9BWcQ7cr1Q9qASgMzCJmLPneoQ0jxKctTBlrIb A0hA+IayvQuH4zc3LcPGh4+1VESmICwU815F1XMVK1iSqElLiBzu3M+e0LyYaCW2Dc7B 6orHyxjM4zxuLHQ6GpfYNRF163sa2s2XJ4Qf03w/JqQELCtHPkN0jB+RqykDkae4v+fL CMxpOVqyToI0xfESMYYuRf0VNmoxZsD4bUpPKnCGzk0A2lk6qiAW5JJpeAAqopsC000u gHbg== X-Received: by 10.180.211.73 with SMTP id na9mr110551656wic.60.1426494332086; Mon, 16 Mar 2015 01:25:32 -0700 (PDT) Received: from [192.168.1.20] (AMontsouris-651-1-133-240.w90-46.abo.wanadoo.fr. [90.46.56.240]) by mx.google.com with ESMTPSA id ub1sm14259094wjc.43.2015.03.16.01.25.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Mar 2015 01:25:31 -0700 (PDT) Message-ID: <5506937A.9090508@gmail.com> Date: Mon, 16 Mar 2015 09:25:30 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [Studio] Configuration editor doesn't preserve operational attributes References: <55055028.70207@stefan-seelmann.de> In-Reply-To: <55055028.70207@stefan-seelmann.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le 15/03/15 10:26, Stefan Seelmann a écrit : > Hi, > > I work on DIRSTUDIO-1016 and changing the configuration editor to > support multi-file LDIF configuration partition. > > What I found with the current editor: if we open the config.ldif, make > some changes, and save it, we just rewrite the whole file and all > operational attributes (entryUUID, entryCSN) are newly created. For sake > of simplicity I'd implement saving to multi-file LDIF partition the same > way (delete the conf directory and recreate it). > > But I wonder if that is ok? Is the config partition meant to be > replicated (then it may be a problem)? The current implementation (ie one biug file) is problematic during replicating just because we update all the entryCSN/entryUUID : that means everything get replicated... The idea of multiple files for config is to avoid having to replicate everything, but just updating the entryCSN of the modified entries and only those. So with respect to this constraint, I'd say that we should be careful not to update anything that hasn't be changed, which might require some extra work... Thanks !