You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by md...@apache.org on 2016/05/17 16:13:00 UTC
svn commit: r1744291 -
/jackrabbit/oak/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentBufferWriter.java
Author: mduerig
Date: Tue May 17 16:12:59 2016
New Revision: 1744291
URL: http://svn.apache.org/viewvc?rev=1744291&view=rev
Log:
OAK-4289: Remove the gc generation from the segment meta data
Update Javadoc
Modified:
jackrabbit/oak/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentBufferWriter.java
Modified: jackrabbit/oak/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentBufferWriter.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentBufferWriter.java?rev=1744291&r1=1744290&r2=1744291&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentBufferWriter.java (original)
+++ jackrabbit/oak/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentBufferWriter.java Tue May 17 16:12:59 2016
@@ -139,14 +139,12 @@ public class SegmentBufferWriter impleme
/**
* Allocate a new segment and write the segment meta data.
- * The segment meta data is a string of the format {@code "{wid=W,sno=S,gc=G,t=T}"}
+ * The segment meta data is a string of the format {@code "{wid=W,sno=S,t=T}"}
* where:
* <ul>
* <li>{@code W} is the writer id {@code wid}, </li>
* <li>{@code S} is a unique, increasing sequence number corresponding to the allocation order
* of the segments in this store, </li>
- * <li>{@code G} is the garbage collection generation (i.e. the number of compaction cycles
- * that have been run),</li>
* <li>{@code T} is a time stamp according to {@link System#currentTimeMillis()}.</li>
* </ul>
* The segment meta data is guaranteed to be the first string record in a segment.