You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ch...@apache.org on 2017/05/02 02:08:40 UTC
hbase git commit: HBASE-14286 Correct typo in argument name for
WALSplitter.writeRegionSequenceIdFile
Repository: hbase
Updated Branches:
refs/heads/master a171b7fea -> c8a7e80e0
HBASE-14286 Correct typo in argument name for WALSplitter.writeRegionSequenceIdFile
Signed-off-by: Chia-Ping Tsai <ch...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c8a7e80e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c8a7e80e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c8a7e80e
Branch: refs/heads/master
Commit: c8a7e80e0a87fa39a720b3da54c0bcf11520ee9f
Parents: a171b7f
Author: Gábor Lipták <gl...@gmail.com>
Authored: Mon May 1 17:23:21 2017 -0400
Committer: Chia-Ping Tsai <ch...@gmail.com>
Committed: Tue May 2 10:01:55 2017 +0800
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/c8a7e80e/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
index 77c2d1c..457f574 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
@@ -689,12 +689,12 @@ public class WALSplitter {
* @param fs
* @param regiondir
* @param newSeqId
- * @param saftyBumper
+ * @param safetyBumper
* @return long new sequence Id value
* @throws IOException
*/
public static long writeRegionSequenceIdFile(final FileSystem fs, final Path regiondir,
- long newSeqId, long saftyBumper) throws IOException {
+ long newSeqId, long safetyBumper) throws IOException {
// TODO: Why are we using a method in here as part of our normal region open where
// there is no splitting involved? Fix. St.Ack 01/20/2017.
Path editsdir = WALSplitter.getRegionDirRecoveredEditsDir(regiondir);
@@ -723,7 +723,7 @@ public class WALSplitter {
if (maxSeqId > newSeqId) {
newSeqId = maxSeqId;
}
- newSeqId += saftyBumper; // bump up SeqId
+ newSeqId += safetyBumper; // bump up SeqId
// write a new seqId file
Path newSeqIdFile = new Path(editsdir, newSeqId + SEQUENCE_ID_FILE_SUFFIX);