Merge lp:~pbeaman/akiban-persistit/fix-1023549-traverse-wrong into lp:akiban-persistit
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Peter Beaman | ||||
Approved revision: | 382 | ||||
Merged at revision: | 382 | ||||
Proposed branch: | lp:~pbeaman/akiban-persistit/fix-1023549-traverse-wrong | ||||
Merge into: | lp:akiban-persistit | ||||
Diff against target: |
95 lines (+28/-7) 2 files modified
src/main/java/com/persistit/Exchange.java (+16/-7) src/test/java/com/persistit/unit/ExchangeTest.java (+12/-0) |
||||
To merge this branch: | bzr merge lp:~pbeaman/akiban-persistit/fix-1023549-traverse-wrong | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nathan Williams | Approve | ||
Review via email: mp+129744@code.launchpad.net |
Description of the change
Fix bug 1023549: traverse(LTEQ, false, 0) incorrectly returns true.
The bug resulted from some failure to handle a couple of cases in the Exchange#traverse method. Proposed code sets the "matches" variable on each applicable code path. Also fixes an infinite loop in code path for travers(EQ, false, 0) where the key provided is for an MVV that has no visible versions.
Currently Akiban Server works around this problem: see
com.
With this proposed branch I have successfully tested a version of Akiban Server in which the deep flag is set to false as originally intended.
Since the changes are subtle and Akiban Server currently works around this problem I recommend holding this proposal out of 3.2.0.
Looks good.
Holding off big-A until version bump gets through.