Merge lp:~pbeaman/akiban-persistit/tree_builder2 into lp:akiban-persistit
Proposed by
Peter Beaman
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Nathan Williams | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 408 | ||||
Proposed branch: | lp:~pbeaman/akiban-persistit/tree_builder2 | ||||
Merge into: | lp:akiban-persistit | ||||
Diff against target: |
342 lines (+148/-28) 3 files modified
src/main/java/com/persistit/BufferPool.java (+13/-14) src/main/java/com/persistit/TreeBuilder.java (+130/-14) src/main/java/com/persistit/Volume.java (+5/-0) |
||||
To merge this branch: | bzr merge lp:~pbeaman/akiban-persistit/tree_builder2 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nathan Williams | Approve | ||
Review via email: mp+141794@code.launchpad.net |
Description of the change
Fairly minor tweaks discovered and tested while running a prototype bulk load on a CAOI schema.
- added missing JavaDoc
- made a TreeBuilder reusable after a merge (for the tbPK case)
- separated _sortKeyCount and _mergedKeyCount and added accessors
- added missing condition on mustWrite in BufferPool#
- added guard code in Volume#close to avoid executing the close logic twice
To post a comment you must log in.
Looks good.