Skip to content

Fix: Added a temporary fix to avoid compaction failures #1001 - #1003

Closed
romithj wants to merge 2 commits into
apache:1.6.xfrom
romithj:fix/random_compaction_failure_due_to_purging
Closed

Fix: Added a temporary fix to avoid compaction failures #1001#1003
romithj wants to merge 2 commits into
apache:1.6.xfrom
romithj:fix/random_compaction_failure_due_to_purging

Conversation

@romithj

@romithj romithj commented Nov 16, 2017

Copy link
Copy Markdown

Overview

Fix for #1001
Discarded any document not available in couchdb but only in main index. It seems couch db main index is not getting properly updated after purging documents. Compactor fails with error 'not_found' when it ties to get the full document from the couchdb.

Testing recommendations

Compaction fails continuously when a document is actually purged but not cleaned up in main index. This issue is random. I tested couple of databases that had the issue and compaction is working fine after the fix.

Checklist

  • Code is written and works correctly;
  • Changes are covered by tests;
  • Documentation reflects the changes;

@romithj
romithj force-pushed the fix/random_compaction_failure_due_to_purging branch from f9283e3 to 21935a6 Compare November 16, 2017 22:53
@romithj
romithj force-pushed the fix/random_compaction_failure_due_to_purging branch from 21935a6 to 11deedf Compare November 16, 2017 23:56
@romithj

romithj commented Nov 17, 2017

Copy link
Copy Markdown
Author

Seems CI fails continuously, anyway to get through this?

@wohali

wohali commented Nov 17, 2017

Copy link
Copy Markdown
Member

You want the 1.7.x branch. 1.6 is no longer under development nor is it supported, see https://blog.couchdb.org/2017/11/14/apache-couchdb-cve-2017-12635-and-cve-2017-12636/

Please resubmit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants