hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1594366 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java
Date Tue, 13 May 2014 20:11:50 GMT
Author: stack
Date: Tue May 13 20:11:50 2014
New Revision: 1594366

URL: http://svn.apache.org/r1594366
Log:
HBASE-11135 addendum fixing comments

Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java?rev=1594366&r1=1594365&r2=1594366&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java
Tue May 13 20:11:50 2014
@@ -30,8 +30,7 @@ import org.apache.hadoop.hbase.HTableDes
  * region sequence id (we want to use this later, just before we write the WAL to ensure
region
  * edits maintain order).  The extra info added here is not 'serialized' as part of the WALEdit
  * hence marked 'transient' to underline this fact.  It also adds mechanism so we can wait
on
- * the assign of the region sequence id.  See {@link #setRegionSequenceId(long)} and
- * {@link #getRegionSequenceId()}.
+ * the assign of the region sequence id.  See {@link #stampRegionSequenceId()}.
  */
 @InterfaceAudience.Private
 class FSWALEntry extends HLog.Entry {
@@ -85,7 +84,7 @@ class FSWALEntry extends HLog.Entry {
    * Call when safe to do so: i.e. the context is such that the increment on the passed in
    * {@link #regionSequenceIdReference} is guaranteed aligned w/ how appends are going into
the
    * WAL.  This method works with {@link #getRegionSequenceId()}.  It will block waiting
on this
-   * method if on initialization our edit/sequence id is {@link HLogKey#NO_SEQ_NO}.
+   * method to be called.
    * @return The region edit/sequence id we set for this edit.
    * @see #getRegionSequenceId()
    */
@@ -102,4 +101,4 @@ class FSWALEntry extends HLog.Entry {
     this.latch.await();
     return getKey().getLogSeqNum();
   }
-}
\ No newline at end of file
+}



Mime
View raw message