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 2017/11/17 21:49:06 UTC

[GitHub] vitaly-goot commented on issue #980: the second phase of data compaction does not reflect by _active_tasks

vitaly-goot commented on issue #980: the second phase of data compaction does not reflect by _active_tasks
URL: https://github.com/apache/couchdb/issues/980#issuecomment-345374903
 
 
   Submitted my workaround for that issue (see #1006) 
   Testing it on older CouchDB-1.6 (which we are running). Looking good. 
   I rebased all relevant 1.6 changes with yours recent 2.1 code line (but never tested).
   
   This change will not report the progress of the `merge` phase per se but it is useful enough for us since we want to learn about disk burn rate and disk overhead to get better capacity planning. 
   
   To get proper emsort progress reporting, it seems like emsort:get_state() needs to be changed to return additional information (other than Root). In fact, two counters could surface (added counter and merged counter).  That state is saved on disk by couch_db_updater (via #comp_header.meta_state). It seems that format of that state can be changed safely since this is all temporary compacted files. 
   

----------------------------------------------------------------
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