Fix: Added a temporary fix to avoid compaction failures #1001 - #1003
Closed
romithj wants to merge 2 commits into
Closed
Fix: Added a temporary fix to avoid compaction failures #1001#1003romithj wants to merge 2 commits into
romithj wants to merge 2 commits into
Conversation
romithj
force-pushed
the
fix/random_compaction_failure_due_to_purging
branch
from
November 16, 2017 22:53
f9283e3 to
21935a6
Compare
romithj
force-pushed
the
fix/random_compaction_failure_due_to_purging
branch
from
November 16, 2017 23:56
21935a6 to
11deedf
Compare
Author
|
Seems CI fails continuously, anyway to get through this? |
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. |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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