Merge lp:~pbeaman/akiban-persistit/allow-long-keys into lp:akiban-persistit
Status: | Merged |
---|---|
Approved by: | Mike McMahon |
Approved revision: | 429 |
Merged at revision: | 426 |
Proposed branch: | lp:~pbeaman/akiban-persistit/allow-long-keys |
Merge into: | lp:akiban-persistit |
Diff against target: |
113 lines (+44/-8) 3 files modified
pom.xml (+1/-1) src/main/java/com/persistit/Key.java (+38/-2) src/main/java/com/persistit/TreeBuilder.java (+5/-5) |
To merge this branch: | bzr merge lp:~pbeaman/akiban-persistit/allow-long-keys |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Akiban Build User | Needs Fixing | ||
Nathan Williams | Approve | ||
Review via email: mp+154814@code.launchpad.net |
Description of the change
Add constructor for com.persistit.Key that allows an oversized backing byte array. Such a Key can be passed to the Exchange#store method; it is the actual size of the encoded key, not the size of the backing byte array that is checked before an attempt to insert into the database.
The purpose of this is to allow akiban-server to manipulate large encoded key values using the native methods of the Key class. This constructor will probably otherwise be of limited value, but adding it does no real damage.
This proposal also increments the version number to 3.2.7 to be coordinated with the akiban-server dependency.
Finally, this branch also fixes a couple of Javadoc link errors.
As described.