davisp opened a new pull request #754: Compactor optimization - PR FOR FEEDBACK ONLY URL: https://github.com/apache/couchdb/pull/754 It occurred to me the other day that we already have the docid tree stored in the original database so the first pass at compaction is wasting a lot of time and IO writing out the emsort structure. This optimizes the compactor to avoid that first use of emsort and instead reads document IDs from the original db's id_tree. There are zero tests for correct compactor behavior right now (outside of the PSE branch) so I'm going to start writing a bunch of tests that will do mean things to the compactor to make sure that this doesn't have any issues around breaking things. However, given the change I figured I'd at least open a feedback PR while I write the test suite for the compactor 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: [email protected]
With regards, Apache Git Services
