From 76322859a48630f9a738cdc90a4fe0420c293f1d Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 13 May 2014 20:11:50 +0000 Subject: [PATCH] HBASE-11135 addendum fixing comments git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1594366 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/hadoop/hbase/regionserver/wal/FSWALEntry.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java index 75ee25a0316..97992692436 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java @@ -30,8 +30,7 @@ import org.apache.hadoop.hbase.HTableDescriptor; * 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 +}