Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-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 45C999FB3 for ; Sun, 26 May 2013 13:52:23 +0000 (UTC) Received: (qmail 17398 invoked by uid 500); 26 May 2013 13:52:22 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 17300 invoked by uid 500); 26 May 2013 13:52:22 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 17265 invoked by uid 99); 26 May 2013 13:52:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 May 2013 13:52:20 +0000 Date: Sun, 26 May 2013 13:52:20 +0000 (UTC) From: "Robert Newson (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-1769) Duplicates in View indexes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1769?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 667326#comment-13667326 ]=20 Robert Newson commented on COUCHDB-1769: ---------------------------------------- Do you have a script or method to reproduce this? =20 > Duplicates in View indexes > -------------------------- > > Key: COUCHDB-1769 > URL: https://issues.apache.org/jira/browse/COUCHDB-1769 > Project: CouchDB > Issue Type: Bug > Components: JavaScript View Server > Affects Versions: 1.3 > Reporter: Stefan K=C3=B6gl > Attachments: duplicate.log > > > The compaction of a view (created with CouchDB 1.3) failed due to view_du= plicate_id. The database to which the view belongs was created with 1.2.x b= ut compacted (with the 0-byte-compact-file trick) with 1.3. > A full log of the failed compaction can be found at > https://friendpaste.com/1AL050bzwyLCa9KJUKJw1u > I experienced the same behaviour already with previous versions but assum= ed it might be gone with 1.3, but this seems not to be the case.=20 > When such duplicates happen (and appear during compaction), they seem to = be at the beginning of the view index. The view in question has the followi= ng _info: > {noformat} > {"name":"listeners","view_index":{"signature":"854a8065b438b3e53fcdbbe0a7= 9a8e80","language":"javascript","disk_size":2679632207,"data_size":10266140= 11,"update_seq":58353111,"purge_seq":0,"updater_running":false,"compact_run= ning":false,"waiting_commit":false,"waiting_clients":0}} > {noformat} > Compaction stopped with a 39M large .compact.view file. > Also the problem seems to happen only one some machines. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira