commit | ff9fb7112ee5250af01e1b38c8cfa9caed152ae7 | [log] [tgz] |
---|---|---|
author | Paul J. Davis <paul.joseph.davis@gmail.com> | Sat Feb 11 15:29:14 2017 -0600 |
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | Sat Feb 11 15:29:14 2017 -0600 |
tree | fbdbf36bc3cf0a23abb77ceaf47fedada3362489 | |
parent | 8556adbb98e79a09ec254967ee6acf3bef8d1fb6 [diff] |
Ensure multi-item chunks in couch_btree:chunkify/1 If the last element of a chunk has a huge reduction it was possible to return a btree node that had a single key. This prevents the edge case by forcing it into the previous chunk. Without this we can end up with a case where a path in the tree can extend for many levels with only a single key in each node. COUCHDB-3298