~akiban-technologies/akiban-persistit/trunk

« back to all changes in this revision

Viewing changes to src/main/java/com/persistit/Exchange.java

merge pbeaman: Fix bug1018526 in which every tree created in a temporary volume has an Identify Tree (IT) record in the journal.

https://code.launchpad.net/~pbeaman/akiban-persistit/fix_1018526_temp_trees_in_journal/+merge/112454

Show diffs side-by-side

added added

removed removed

Lines of Context:
2777
2777
            fetchFixupForLongRecords(value, Integer.MAX_VALUE);
2778
2778
            if (MVV.isArrayMVV(value.getEncodedBytes(), 0, value.getEncodedSize())) {
2779
2779
                if (bufferForPruning != null) {
2780
 
                    bufferForPruning.enqueuePruningAction(_tree.getHandle());
 
2780
                    final int treeHandle = _tree.getHandle();
 
2781
                    assert treeHandle != 0 : "MVV found in a temporary tree " + _tree;
 
2782
                    bufferForPruning.enqueuePruningAction(treeHandle);
2781
2783
                }
2782
2784
                visible = mvccFetch(value, minimumBytes);
2783
2785
                fetchFixupForLongRecords(value, minimumBytes);