/[Apache-SVN]
ViewVC logotype

Revision 1043451


Jump to revision: Previous Next
Author: kocolosk
Date: Wed Dec 8 15:28:06 2010 UTC (13 years, 4 months ago)
Changed paths: 1
Log Message:
Usort the infos during compaction to remove dupes, COUCHDB-968

This is not a bulletproof solution; it only removes dupes when the
they appear in the same batch of 1000 updates.  However, for dupes
that show up in _all_docs the probability of that happening is quite
high.  If the dupes are only in _changes a user may need to compact
twice, once to get the dupes ordered together and a second time to
remove them.

A more complete solution would be to trigger the compaction in "retry"
mode, but this is siginificantly slower.

Changed paths

Path Details
Directorycouchdb/trunk/src/couchdb/couch_db_updater.erl modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26