Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4ECEF2009F3 for ; Sat, 4 Jun 2016 10:04:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4D661160A26; Sat, 4 Jun 2016 08:04:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 934F6160A1E for ; Sat, 4 Jun 2016 10:04:49 +0200 (CEST) Received: (qmail 11084 invoked by uid 500); 4 Jun 2016 08:04:48 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 11074 invoked by uid 99); 4 Jun 2016 08:04:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jun 2016 08:04:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F3879180584 for ; Sat, 4 Jun 2016 08:04:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.415 X-Spam-Level: X-Spam-Status: No, score=-0.415 tagged_above=-999 required=6.31 tests=[FROM_MISSPACED=0.001, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.426, T_FROM_MISSP_DKIM=0.01] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id J_YFTdU_zZK3 for ; Sat, 4 Jun 2016 08:04:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0A0515F397 for ; Sat, 4 Jun 2016 08:04:45 +0000 (UTC) Received: from localhost (cust-asf.ponee.io [163.172.22.183]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9D00FE017A for ; Sat, 4 Jun 2016 08:04:43 +0000 (UTC) MIME-Version: 1.0 Message-ID: Subject: Re: "Offset too large" error when packing repository in FSFS 7 format References: <48a61c1eae5637915160adf7f1be4955@mail.gmail.com> From: "Stefan Fuhrmann" In-Reply-To: <48a61c1eae5637915160adf7f1be4955@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" x-ponymail-sender: 2877b7487b187b220c3aefb24550cb55e3514ddb Date: Sat, 04 Jun 2016 08:04:42 -0000 x-ponymail-agent: PonyMail Composer/0.2 To: X-Mailer: LuaSocket 3.0-rc1 archived-at: Sat, 04 Jun 2016 08:04:50 -0000 On 2016-06-03 09:36 (+0200), Radek Krotil wrote: > Hello. > > Today, I encountered a problem when trying to pack a repository after > migrating it to the FSFS 7 format by performing full dump / load sequence. I assume you ran 'svnadmin load' onto a repository that was not accessible to the server at that time, so no remote user could accicentally write to it? > Shortly, I get the following error > “Packing revisions in shard 5...svnadmin: E160056: Offset 391658998 too > large in revision 5102” This is basically an "invalid access" error message. Typical causes include repository corruption and admins tinkering with the repository without informing the server process. A maybe similar issue: https://issues.apache.org/jira/browse/SVN-4588 In your case, however, the corruption is probably in the repository itself. Please run 'svnadmin verify' on it. > I was not able to understand from the documentation, what settings in > fsfs.conf should be modified to workaround this problem. Neither search in > the Internet brought any light into this. Is it even possible? This is most definitely not a configuration issue like "your data is too large". Maybe, we should prefix the error message with "invalid access" to prevent confusion. Subversion is likely to run out of memory before hitting any repo format limitations. > The mentioned revision seems to be a result of an user error. It resulted > in adding 169,200 paths to the repository. The delta file of the revision > 5102 is 394141477 B. Subversion 1.9.3 was used when performing this > operation on CentOS 7.2. FSFS 7 backed uses default configuration > (therefore deltification is used). By "delta file" you mean the revision file (deb/revs/5/5102)? If so, could you run a 'grep -oba L2P-INDEX 5102' on it and post the results here? How many revisions did the repo have before the conversion? > Originally, the repository was stored in FSFS 6 format with default > settings (no deltification). Packing the repository in old format finished > successfully and the pack file size was about 831 MB. If the old repository still available, please re-run the sump/load cycle to see whether the problem is reproducible. Keep your current FSFS7 repo, too. > Looking forward to hearing any guidance how to configure my backend so that > I can eventually pack the repository in the new format. My current best guess is that something interfered with 'svnadmin load' process. -- Stefan^2.