~pbeaman/akiban-persistit/fix-several-small-bugs

« back to all changes in this revision

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

  • Committer: Peter Beaman
  • Date: 2012-10-08 17:52:26 UTC
  • Revision ID: pbeaman@akiban.com-20121008175226-qmuytxr67ojstwxp
Improve traverse tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
608
608
        changed |= changeReadCounter(bytes, stat.getReadCounter());
609
609
        changed |= changeLastExtensionTime(bytes, stat.getLastExtensionTime());
610
610
        changed |= changeLastReadTime(bytes, stat.getLastReadTime());
611
 
        changed |= changeGlobalTimestamp(bytes, stat.getLastGlobalTimestamp());
612
611
 
613
612
        // Ugly, but the act of closing the system increments this
614
613
        // counter, leading to an extra write. So basically we
615
614
        // ignore the final write by not setting the changed flag.
616
615
        changeWriteCounter(bytes, stat.getWriteCounter());
617
616
        changeLastWriteTime(bytes, stat.getLastWriteTime());
 
617
        changeGlobalTimestamp(bytes, stat.getLastGlobalTimestamp());
618
618
 
619
619
        return changed;
620
620
    }