wohali commented on issue #674: Flaky compaction daemon test
URL: https://github.com/apache/couchdb/issues/674#issuecomment-315186953
 
 
   ~~What I don't know is if that's a legitimate attempt to re-compact (because 
it is still too fragmented) or if the compaction daemon is attempting to 
re-compact based on old data about the state of the DB in question.~~
   
   So it must be acting on outdated data. Our test fails on the last line of 
this paste:
   
   ```
           {DbFrag2, DbFileSize2} = get_db_frag(DbName),
           {ViewFrag2, ViewFileSize2} = get_view_frag(DbName),
   
           ?assert(DbFrag2 < 70),
           ?assert(ViewFrag2 < 70),
   
           ?assert(DbFileSize > DbFileSize2),
           ?assert(ViewFileSize > ViewFileSize2),
   
           ?assert(is_idle(DbName))
   ```
   
   which means the compacted DB __must__ be small enough, and the compaction 
daemon is acting on outdated data.
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to