couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Kögl <koeglste...@gmail.com>
Subject Re: view_duplicated_id on CouchDB 1.2
Date Wed, 18 Apr 2012 14:34:37 GMT
On Wed, Apr 18, 2012 at 11:31 AM, Stefan Kögl <koeglstefan@gmail.com> wrote:
> On Wed, Apr 18, 2012 at 10:37 AM, Robert Newson <rnewson@apache.org> wrote:
>> The first step is to ensure that your database does not contain
>> duplicates. To do this, you need to compact it in a special way.
>> Create a 0 byte dbname.compact file in the same place that the normal
>> .compact file would be, and then compact. This will force the retry
>> mode of the compactor which will more aggressively check for
>> duplicates.
>
> Thanks for the suggestion -- I'll try that! I assume I would run into
> the same problems again if a re-build the view from a db with
> duplicates.

The aggressive db compaction is running now (for ~5 hours already),
and still at 1% progress, so it seems it does its job very thorough ;)
Does the db compaction log if it detects and removes any duplicates?

-- Stefan

Mime
View raw message