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 7DFA310476 for ; Sun, 10 Nov 2013 09:26:33 +0000 (UTC) Received: (qmail 65098 invoked by uid 500); 10 Nov 2013 09:26:31 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 64900 invoked by uid 500); 10 Nov 2013 09:26:27 -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 64871 invoked by uid 99); 10 Nov 2013 09:26:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Nov 2013 09:26:24 +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 (athena.apache.org: domain of elecharny@gmail.com designates 74.125.82.53 as permitted sender) Received: from [74.125.82.53] (HELO mail-wg0-f53.google.com) (74.125.82.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Nov 2013 09:26:19 +0000 Received: by mail-wg0-f53.google.com with SMTP id y10so3573746wgg.32 for ; Sun, 10 Nov 2013 01:25:57 -0800 (PST) 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 :content-type:content-transfer-encoding; bh=KmRE9G6gP8jRhoNmQOIeTbGsaessLlUuNd8IhXtx8J0=; b=XdHHdOY2/rgjeR8iJgbm8fTn95snPbRZAfSI9za7DMfbqaowUnGUP9NjB4bt+DYDN7 /EbbugYCPPkUeKgkAhMbrf8mM4mBT9a1tYoKjjkz7dXOouP733EcoSY6Az0aeFQm+EAr WqFDVoTt3vyR+QsStYpOdt46QXqld6wWPbOtW3Wd4Q+8HEt3OdFALmBwaTerdrMcOaF6 5s5VPsHWbbKJ+CP/sj/cqn6Wi68Oe1upiCIC0ssZ3NcazP9yghscV4XKueAspPHh5aH0 QSxmvasc0rhLd4crCsIUf4zAhsihBKjcoyNRcQ5xkkDcNmtM0DwoMTuKXk6hIwOfVe6z 9DPg== X-Received: by 10.180.37.114 with SMTP id x18mr8333760wij.64.1384075557649; Sun, 10 Nov 2013 01:25:57 -0800 (PST) Received: from Emmanuels-MacBook-Pro.local ([212.195.127.200]) by mx.google.com with ESMTPSA id i8sm22678786wiy.6.2013.11.10.01.25.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Nov 2013 01:25:56 -0800 (PST) Message-ID: <527F5125.2030106@gmail.com> Date: Sun, 10 Nov 2013 10:25:57 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Ads + Mavibot Partition X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Just quick heads up : Im tryinh to fix a bug that forbid us to inject a few thousands entries in the server (the injection test fails after aound 3000 thousands of entries added). The problem lies in teh way we serialize/deserialize ParentIdAndRdn. For some reason, we add the length of the byte[] containing the ParentIdAndRdn before the serialized value. The deserializer does not expect to find this length, thought the next position is not good. If I remove this length, now I have a pb because the number of expected RDNs is too big, and I get an ArrayOutofCoundException while tryingt to create an array of RDN[] with zillions of values. Obviously, we don't serialize/deserialize correctly, although the ser/deser methods have been tested and work. It's more about the way we call them : when we reach a number of stored elements, the cache is full, and we need to read back some pages from disk. This is when we have the issue. I have to understand why a Page deserialization fails. It should not be such a big issue, but the failure is quite random (something I don't understand, though... Not sure that the cache is not responsible for this randomness). I'll keep the list updated. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com