You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/03/29 16:07:00 UTC

[GitHub] davisp opened a new pull request #1255: Fix compaction resumption for the BT engine

davisp opened a new pull request #1255: Fix compaction resumption for the BT engine
URL: https://github.com/apache/couchdb/pull/1255
 
 
   This bug prevents the proper resumption of compactions that died during
   the meta copy phase. The issue is that we were setting the update_seq
   but not copying over the id and seq tree states. Thus when compaction
   resumed from the bad files we'd end up skipping the part where we copy
   docs over and then think everything was finished. Thus completely
   clearing a database of its contents.
   
   Luckily this isn't release code and as such should have fairly minimal
   impact other than those who might be running off master.
   
   Note: Once I finish emergency patching everything affected by this bug I'm gonna add a unit test that shows this behavior.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services