commit | a333595ee66e122ea6fa76bfb1f72d76d609ac60 | [log] [tgz] |
---|---|---|
author | Paul J. Davis <paul.joseph.davis@gmail.com> | Fri Sep 08 09:40:52 2017 -0500 |
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | Mon Sep 11 15:56:36 2017 -0500 |
tree | 5fd1e7e01c4d05efe6344da37d2f7e94dcf0ce10 | |
parent | 084f72a2f639a72a1ec8694a3caf1f14c6ba9f26 [diff] |
Optimize compactor to use multi-IO API This updates couch_db_updater to use the new multi-IO API functions (append_terms/pread_terms) in couch_file. This optimization benefits us by no longer requiring the `couch_emsort:merge/1` step to copy `#full_doc_info{}` records multiple times while also not being penalized by signficantly increasing the number of calls through couch_file APIs.