You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by gi...@apache.org on 2021/06/20 20:17:07 UTC
[hbase-site] branch asf-site updated: Published site at
d2923755ecc57cc1b0d1eee3d11d44e027d69df7.
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hbase-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 1d174fd Published site at d2923755ecc57cc1b0d1eee3d11d44e027d69df7.
1d174fd is described below
commit 1d174fdb64d775b51054418dae612bf30b092826
Author: jenkins <bu...@apache.org>
AuthorDate: Sun Jun 20 20:16:51 2021 +0000
Published site at d2923755ecc57cc1b0d1eee3d11d44e027d69df7.
---
acid-semantics.html | 2 +-
apache_hbase_reference_guide.pdf | 4 +-
book.html | 2 +-
bulk-loads.html | 2 +-
checkstyle-aggregate.html | 14 +-
coc.html | 2 +-
dependencies.html | 2 +-
dependency-convergence.html | 2 +-
dependency-info.html | 2 +-
dependency-management.html | 2 +-
devapidocs/index-all.html | 2 +
.../apache/hadoop/hbase/backup/package-tree.html | 4 +-
.../apache/hadoop/hbase/chaos/package-tree.html | 2 +-
.../apache/hadoop/hbase/client/package-tree.html | 24 +-
.../apache/hadoop/hbase/filter/package-tree.html | 8 +-
.../hadoop/hbase/hbtop/terminal/package-tree.html | 2 +-
.../org/apache/hadoop/hbase/http/package-tree.html | 2 +-
.../apache/hadoop/hbase/io/hfile/package-tree.html | 6 +-
.../org/apache/hadoop/hbase/ipc/package-tree.html | 2 +-
.../hadoop/hbase/mapreduce/package-tree.html | 2 +-
.../hbase/master/assignment/package-tree.html | 2 +-
.../apache/hadoop/hbase/master/package-tree.html | 8 +-
.../hbase/master/procedure/package-tree.html | 2 +-
.../hadoop/hbase/monitoring/package-tree.html | 2 +-
.../org/apache/hadoop/hbase/package-tree.html | 14 +-
.../hadoop/hbase/procedure2/package-tree.html | 2 +-
.../apache/hadoop/hbase/quotas/package-tree.html | 4 +-
.../hadoop/hbase/regionserver/package-tree.html | 20 +-
.../regionserver/querymatcher/package-tree.html | 2 +-
.../hbase/regionserver/wal/package-tree.html | 4 +-
.../regionserver/ReplicationSourceWALReader.html | 80 ++-
.../SerialReplicationSourceWALReader.html | 14 +-
.../regionserver/class-use/WALEntryBatch.html | 20 +-
.../regionserver/class-use/WALEntryStream.html | 10 +-
.../replication/regionserver/package-tree.html | 2 +-
.../hadoop/hbase/security/access/package-tree.html | 6 +-
.../apache/hadoop/hbase/security/package-tree.html | 2 +-
.../org/apache/hadoop/hbase/util/package-tree.html | 10 +-
.../org/apache/hadoop/hbase/wal/package-tree.html | 2 +-
.../regionserver/ReplicationSourceWALReader.html | 712 ++++++++++-----------
.../SerialReplicationSourceWALReader.html | 144 ++---
downloads.html | 2 +-
export_control.html | 2 +-
index.html | 2 +-
issue-tracking.html | 2 +-
mail-lists.html | 2 +-
metrics.html | 2 +-
old_news.html | 2 +-
plugin-management.html | 2 +-
plugins.html | 2 +-
poweredbyhbase.html | 2 +-
project-info.html | 2 +-
project-reports.html | 2 +-
project-summary.html | 2 +-
pseudo-distributed.html | 2 +-
replication.html | 2 +-
resources.html | 2 +-
source-repository.html | 2 +-
sponsors.html | 2 +-
supportingprojects.html | 2 +-
team-list.html | 2 +-
testdevapidocs/index-all.html | 4 +-
.../TestReplicationEmptyWALRecovery.html | 40 +-
.../TestReplicationEmptyWALRecovery.html | 436 +++++++------
64 files changed, 823 insertions(+), 847 deletions(-)
diff --git a/acid-semantics.html b/acid-semantics.html
index 87a944d..406f206 100644
--- a/acid-semantics.html
+++ b/acid-semantics.html
@@ -456,7 +456,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf
index e4fc2c5..d0a51ef 100644
--- a/apache_hbase_reference_guide.pdf
+++ b/apache_hbase_reference_guide.pdf
@@ -5,8 +5,8 @@
/Author (Apache HBase Team)
/Creator (Asciidoctor PDF 1.5.3, based on Prawn 2.2.2)
/Producer (Apache HBase Team)
-/ModDate (D:20210618200449+00'00')
-/CreationDate (D:20210618201448+00'00')
+/ModDate (D:20210620200448+00'00')
+/CreationDate (D:20210620201446+00'00')
>>
endobj
2 0 obj
diff --git a/book.html b/book.html
index 68ce968..9bbb2c9 100644
--- a/book.html
+++ b/book.html
@@ -46170,7 +46170,7 @@ org/apache/hadoop/hbase/security/access/AccessControlClient.revoke:(Lorg/apache/
<div id="footer">
<div id="footer-text">
Version 3.0.0-SNAPSHOT<br>
-Last updated 2021-06-18 20:04:49 UTC
+Last updated 2021-06-20 20:04:48 UTC
</div>
</div>
<link rel="stylesheet" href="./coderay-asciidoctor.css">
diff --git a/bulk-loads.html b/bulk-loads.html
index e7f6378..47acbdb 100644
--- a/bulk-loads.html
+++ b/bulk-loads.html
@@ -161,7 +161,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index 5ad9ad9..8358dd5 100644
--- a/checkstyle-aggregate.html
+++ b/checkstyle-aggregate.html
@@ -7283,7 +7283,7 @@
<tr class="b">
<td>annotation</td>
<td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_annotation.html#MissingDeprecated">MissingDeprecated</a></td>
-<td>7</td>
+<td>5</td>
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr>
<tr class="a">
<td>blocks</td>
@@ -7382,7 +7382,7 @@
<td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#JavadocTagContinuationIndentation">JavadocTagContinuationIndentation</a>
<ul>
<li>offset: <tt>"2"</tt></li></ul></td>
-<td>524</td>
+<td>526</td>
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr>
<tr class="a">
<td></td>
@@ -34887,8 +34887,8 @@
<th>Line</th></tr>
<tr class="a">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>annotation</td>
-<td>MissingDeprecated</td>
+<td>javadoc</td>
+<td>JavadocTagContinuationIndentation</td>
<td>Javadoc comment at column 14 has parse error. Details: mismatched input ':' expecting <EOF> while parsing JAVADOC</td>
<td>46</td></tr></table></div>
<div class="section">
@@ -49971,8 +49971,8 @@
<th>Line</th></tr>
<tr class="b">
<td><img src="images/icon_error_sml.gif" alt="" /> Error</td>
-<td>annotation</td>
-<td>MissingDeprecated</td>
+<td>javadoc</td>
+<td>JavadocTagContinuationIndentation</td>
<td>Javadoc comment at column 54 has parse error. Details: no viable alternative at input '(' while parsing JAVADOC_INLINE_TAG</td>
<td>59</td></tr>
<tr class="a">
@@ -73506,7 +73506,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/coc.html b/coc.html
index ad1ed59..7437a67 100644
--- a/coc.html
+++ b/coc.html
@@ -230,7 +230,7 @@ email to <a class="externalLink" href="mailto:private@hbase.apache.org">the priv
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependencies.html b/dependencies.html
index bf7a47e..363cbdb 100644
--- a/dependencies.html
+++ b/dependencies.html
@@ -302,7 +302,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependency-convergence.html b/dependency-convergence.html
index 736ba45..bd54e0d 100644
--- a/dependency-convergence.html
+++ b/dependency-convergence.html
@@ -864,7 +864,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependency-info.html b/dependency-info.html
index cc14b11..2053bbd 100644
--- a/dependency-info.html
+++ b/dependency-info.html
@@ -183,7 +183,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependency-management.html b/dependency-management.html
index bf34b6f..2214f33 100644
--- a/dependency-management.html
+++ b/dependency-management.html
@@ -1190,7 +1190,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/devapidocs/index-all.html b/devapidocs/index-all.html
index ffd2608..738f136 100644
--- a/devapidocs/index-all.html
+++ b/devapidocs/index-all.html
@@ -124484,6 +124484,8 @@ service.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html#tryAdvanceEntry--">tryAdvanceEntry()</a></span> - Method in class org.apache.hadoop.hbase.replication.regionserver.<a href="org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryStream</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#tryAdvanceStreamAndCreateWALBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">tryAdvanceStreamAndCreateWALBatch(WALEntryStream)</a></span> - Method in class org.apache.hadoop.hbase.replication.regionserver.<a href="org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html" title="class in org.apache.hadoop.hbase.replicatio [...]
+<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/regionserver/MultiVersionConcurrencyControl.html#tryAdvanceTo-long-long-">tryAdvanceTo(long, long)</a></span> - Method in class org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/MultiVersionConcurrencyControl.html" title="class in org.apache.hadoop.hbase.regionserver">MultiVersionConcurrencyControl</a></dt>
<dd>
<div class="block">Step the MVCC forward on to a new read/write basis.</div>
diff --git a/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html b/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html
index 9301899..393c4f6 100644
--- a/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html
@@ -166,10 +166,10 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
+<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupRestoreConstants.BackupCommand.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupRestoreConstants.BackupCommand</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupType.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupInfo.BackupPhase.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupInfo.BackupPhase</span></a></li>
<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupInfo.BackupState.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupInfo.BackupState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupType.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupRestoreConstants.BackupCommand.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupRestoreConstants.BackupCommand</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/chaos/package-tree.html b/devapidocs/org/apache/hadoop/hbase/chaos/package-tree.html
index 4dc5d8a..96e1d32 100644
--- a/devapidocs/org/apache/hadoop/hbase/chaos/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/chaos/package-tree.html
@@ -103,8 +103,8 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.chaos.<a href="../../../../../org/apache/hadoop/hbase/chaos/ChaosService.ChaosServiceName.html" title="enum in org.apache.hadoop.hbase.chaos"><span class="typeNameLink">ChaosService.ChaosServiceName</span></a></li>
<li type="circle">org.apache.hadoop.hbase.chaos.<a href="../../../../../org/apache/hadoop/hbase/chaos/ChaosService.ExecutorAction.html" title="enum in org.apache.hadoop.hbase.chaos"><span class="typeNameLink">ChaosService.ExecutorAction</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.chaos.<a href="../../../../../org/apache/hadoop/hbase/chaos/ChaosService.ChaosServiceName.html" title="enum in org.apache.hadoop.hbase.chaos"><span class="typeNameLink">ChaosService.ChaosServiceName</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/client/package-tree.html b/devapidocs/org/apache/hadoop/hbase/client/package-tree.html
index ef08caf..a516537 100644
--- a/devapidocs/org/apache/hadoop/hbase/client/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/client/package-tree.html
@@ -455,25 +455,25 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/CatalogReplicaMode.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">CatalogReplicaMode</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/LogQueryFilter.FilterByOperator.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">LogQueryFilter.FilterByOperator</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/MobCompactPartitionPolicy.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">MobCompactPartitionPolicy</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/ServerType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">ServerType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/TableState.State.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">TableState.State</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/RequestController.ReturnCode.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">RequestController.ReturnCode</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/SnapshotType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">SnapshotType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Durability</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.ScanControllerState.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncScanSingleRegionRpcRetryingCaller.ScanControllerState</span></a></li>
<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/CompactType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">CompactType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/MasterSwitchType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">MasterSwitchType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Consistency</span></a></li>
<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/RegionLocateType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">RegionLocateType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/SnapshotType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">SnapshotType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AbstractResponse.ResponseType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AbstractResponse.ResponseType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/CatalogReplicaMode.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">CatalogReplicaMode</span></a></li>
<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/LogQueryFilter.Type.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">LogQueryFilter.Type</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/IsolationLevel.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">IsolationLevel</span></a></li>
<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.ScanResumerState.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncScanSingleRegionRpcRetryingCaller.ScanResumerState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.ScanControllerState.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncScanSingleRegionRpcRetryingCaller.ScanControllerState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AbstractResponse.ResponseType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AbstractResponse.ResponseType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/IsolationLevel.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">IsolationLevel</span></a></li>
<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/CompactionState.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">CompactionState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Durability</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/ServerType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">ServerType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/TableState.State.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">TableState.State</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/RequestController.ReturnCode.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">RequestController.ReturnCode</span></a></li>
<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Scan.ReadType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Scan.ReadType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/MobCompactPartitionPolicy.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">MobCompactPartitionPolicy</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/LogQueryFilter.FilterByOperator.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">LogQueryFilter.FilterByOperator</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/MasterSwitchType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">MasterSwitchType</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html b/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html
index c25b2fc..6f34529 100644
--- a/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html
@@ -190,13 +190,13 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FilterList.Operator.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FilterList.Operator</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/BitComparator.BitwiseOp.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">BitComparator.BitwiseOp</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FilterWrapper.FilterRowRetCode.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FilterWrapper.FilterRowRetCode</span></a></li>
<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FuzzyRowFilter.Order.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FuzzyRowFilter.Order</span></a></li>
<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">Filter.ReturnCode</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/RegexStringComparator.EngineType.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">RegexStringComparator.EngineType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FilterList.Operator.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FilterList.Operator</span></a></li>
<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FuzzyRowFilter.SatisfiesCode.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FuzzyRowFilter.SatisfiesCode</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/BitComparator.BitwiseOp.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">BitComparator.BitwiseOp</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FilterWrapper.FilterRowRetCode.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FilterWrapper.FilterRowRetCode</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/RegexStringComparator.EngineType.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">RegexStringComparator.EngineType</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/hbtop/terminal/package-tree.html b/devapidocs/org/apache/hadoop/hbase/hbtop/terminal/package-tree.html
index bf67872..348c0be 100644
--- a/devapidocs/org/apache/hadoop/hbase/hbtop/terminal/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/hbtop/terminal/package-tree.html
@@ -107,8 +107,8 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.hbtop.terminal.<a href="../../../../../../org/apache/hadoop/hbase/hbtop/terminal/Color.html" title="enum in org.apache.hadoop.hbase.hbtop.terminal"><span class="typeNameLink">Color</span></a></li>
<li type="circle">org.apache.hadoop.hbase.hbtop.terminal.<a href="../../../../../../org/apache/hadoop/hbase/hbtop/terminal/KeyPress.Type.html" title="enum in org.apache.hadoop.hbase.hbtop.terminal"><span class="typeNameLink">KeyPress.Type</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.hbtop.terminal.<a href="../../../../../../org/apache/hadoop/hbase/hbtop/terminal/Color.html" title="enum in org.apache.hadoop.hbase.hbtop.terminal"><span class="typeNameLink">Color</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/http/package-tree.html b/devapidocs/org/apache/hadoop/hbase/http/package-tree.html
index 7cce376..4a6ded9 100644
--- a/devapidocs/org/apache/hadoop/hbase/http/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/http/package-tree.html
@@ -141,8 +141,8 @@
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
<li type="circle">org.apache.hadoop.hbase.http.<a href="../../../../../org/apache/hadoop/hbase/http/ProfileServlet.Output.html" title="enum in org.apache.hadoop.hbase.http"><span class="typeNameLink">ProfileServlet.Output</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.http.<a href="../../../../../org/apache/hadoop/hbase/http/ProfileServlet.Event.html" title="enum in org.apache.hadoop.hbase.http"><span class="typeNameLink">ProfileServlet.Event</span></a></li>
<li type="circle">org.apache.hadoop.hbase.http.<a href="../../../../../org/apache/hadoop/hbase/http/HttpConfig.Policy.html" title="enum in org.apache.hadoop.hbase.http"><span class="typeNameLink">HttpConfig.Policy</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.http.<a href="../../../../../org/apache/hadoop/hbase/http/ProfileServlet.Event.html" title="enum in org.apache.hadoop.hbase.http"><span class="typeNameLink">ProfileServlet.Event</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
index 24283f9..b25b329 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
@@ -305,12 +305,12 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockPriority.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockPriority</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/ReaderContext.ReaderType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">ReaderContext.ReaderType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">HFileBlock.Writer.State</span></a></li>
<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheFactory.ExternalBlockCaches.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockCacheFactory.ExternalBlockCaches</span></a></li>
<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockType.BlockCategory</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">HFileBlock.Writer.State</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/ReaderContext.ReaderType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">ReaderContext.ReaderType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockType</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html b/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html
index 718318a..3139f55 100644
--- a/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html
@@ -356,9 +356,9 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceFactoryImpl.SourceStorage.html" title="enum in org.apache.hadoop.hbase.ipc"><span class="typeNameLink">MetricsHBaseServerSourceFactoryImpl.SourceStorage</span></a></li>
<li type="circle">org.apache.hadoop.hbase.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/CallEvent.Type.html" title="enum in org.apache.hadoop.hbase.ipc"><span class="typeNameLink">CallEvent.Type</span></a></li>
<li type="circle">org.apache.hadoop.hbase.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/BufferCallBeforeInitHandler.BufferCallAction.html" title="enum in org.apache.hadoop.hbase.ipc"><span class="typeNameLink">BufferCallBeforeInitHandler.BufferCallAction</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceFactoryImpl.SourceStorage.html" title="enum in org.apache.hadoop.hbase.ipc"><span class="typeNameLink">MetricsHBaseServerSourceFactoryImpl.SourceStorage</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html b/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html
index a005450..541d9da 100644
--- a/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html
@@ -300,9 +300,9 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/RowCounter.RowCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">RowCounter.RowCounterMapper.Counters</span></a></li>
<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/SyncTable.SyncMapper.Counter.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">SyncTable.SyncMapper.Counter</span></a></li>
<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/CellCounter.CellCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">CellCounter.CellCounterMapper.Counters</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/RowCounter.RowCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">RowCounter.RowCounterMapper.Counters</span></a></li>
<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/TableSplit.Version.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">TableSplit.Version</span></a></li>
<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/WALPlayer.Counter.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">WALPlayer.Counter</span></a></li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/package-tree.html
index e2ae864..7ebf7f7 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/assignment/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/package-tree.html
@@ -151,8 +151,8 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.master.assignment.<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/ServerState.html" title="enum in org.apache.hadoop.hbase.master.assignment"><span class="typeNameLink">ServerState</span></a></li>
<li type="circle">org.apache.hadoop.hbase.master.assignment.<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.TransitionType.html" title="enum in org.apache.hadoop.hbase.master.assignment"><span class="typeNameLink">TransitRegionStateProcedure.TransitionType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.master.assignment.<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/ServerState.html" title="enum in org.apache.hadoop.hbase.master.assignment"><span class="typeNameLink">ServerState</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html
index 15fe1a3..5b58fd8 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html
@@ -318,13 +318,13 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.ResubmitDirective.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.ResubmitDirective</span></a></li>
<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MetaRegionLocationCache.ZNodeOpType.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MetaRegionLocationCache.ZNodeOpType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/ServerManager.ServerLiveState.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">ServerManager.ServerLiveState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/RegionState.State.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">RegionState.State</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.TerminationStatus.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.TerminationStatus</span></a></li>
<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MasterRpcServices.BalanceSwitchMode</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.TerminationStatus.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.TerminationStatus</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/RegionState.State.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">RegionState.State</span></a></li>
<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MetricsMasterSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MetricsMasterSourceFactoryImpl.FactoryStorage</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.ResubmitDirective.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.ResubmitDirective</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/ServerManager.ServerLiveState.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">ServerManager.ServerLiveState</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html
index 52b2bc3..7b3003d 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html
@@ -222,9 +222,9 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
+<li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/PeerProcedureInterface.PeerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">PeerProcedureInterface.PeerOperationType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">TableProcedureInterface.TableOperationType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MetaProcedureInterface.MetaOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">MetaProcedureInterface.MetaOperationType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/PeerProcedureInterface.PeerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">PeerProcedureInterface.PeerOperationType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.ServerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">ServerProcedureInterface.ServerOperationType</span></a></li>
</ul>
</li>
diff --git a/devapidocs/org/apache/hadoop/hbase/monitoring/package-tree.html b/devapidocs/org/apache/hadoop/hbase/monitoring/package-tree.html
index 4b6a729..c29587a 100644
--- a/devapidocs/org/apache/hadoop/hbase/monitoring/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/monitoring/package-tree.html
@@ -126,8 +126,8 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.monitoring.<a href="../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.State.html" title="enum in org.apache.hadoop.hbase.monitoring"><span class="typeNameLink">MonitoredTask.State</span></a></li>
<li type="circle">org.apache.hadoop.hbase.monitoring.<a href="../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.TaskFilter.TaskType.html" title="enum in org.apache.hadoop.hbase.monitoring"><span class="typeNameLink">TaskMonitor.TaskFilter.TaskType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.monitoring.<a href="../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.State.html" title="enum in org.apache.hadoop.hbase.monitoring"><span class="typeNameLink">MonitoredTask.State</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/package-tree.html b/devapidocs/org/apache/hadoop/hbase/package-tree.html
index 6469c57..d5f9ccb 100644
--- a/devapidocs/org/apache/hadoop/hbase/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/package-tree.html
@@ -424,19 +424,19 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CompatibilitySingletonFactory.SingletonStorage.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CompatibilitySingletonFactory.SingletonStorage</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/KeepDeletedCells.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">KeepDeletedCells</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Coprocessor.State.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Coprocessor.State</span></a></li>
<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HealthChecker.HealthCheckerExitStatus.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">HealthChecker.HealthCheckerExitStatus</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CompareOperator.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CompareOperator</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CellBuilderType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CellBuilderType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/MemoryCompactionPolicy.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">MemoryCompactionPolicy</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Coprocessor.State.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Coprocessor.State</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Cell.Type</span></a></li>
<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Size.Unit.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Size.Unit</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CellBuilderType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CellBuilderType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/KeyValue.Type.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">KeyValue.Type</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterMetrics.Option.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterMetrics.Option</span></a></li>
<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClientMetaTableAccessor.QueryType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClientMetaTableAccessor.QueryType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HConstants.OperationStatusCode.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">HConstants.OperationStatusCode</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/KeepDeletedCells.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">KeepDeletedCells</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CompareOperator.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CompareOperator</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Cell.Type</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CompatibilitySingletonFactory.SingletonStorage.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CompatibilitySingletonFactory.SingletonStorage</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterMetrics.Option.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterMetrics.Option</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html b/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
index eca3b69..07d78ed 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
@@ -216,8 +216,8 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/RootProcedureState.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">RootProcedureState.State</span></a></li>
<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.Flow.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">StateMachineProcedure.Flow</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/RootProcedureState.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">RootProcedureState.State</span></a></li>
<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockedResourceType.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">LockedResourceType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.LockState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">Procedure.LockState</span></a></li>
<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockType.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">LockType</span></a></li>
diff --git a/devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html b/devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html
index 77c694d..651ee13 100644
--- a/devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html
@@ -240,12 +240,12 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicy.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">SpaceViolationPolicy</span></a></li>
<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/OperationQuota.OperationType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">OperationQuota.OperationType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicy.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">SpaceViolationPolicy</span></a></li>
<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/ThrottleType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">ThrottleType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaScope.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">QuotaScope</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">QuotaType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/RpcThrottlingException.Type.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">RpcThrottlingException.Type</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">QuotaType</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html b/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
index 11e2972..d9d3604 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
@@ -726,19 +726,19 @@
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/MemStoreCompactionStrategy.Action.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">MemStoreCompactionStrategy.Action</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TimeRangeTracker.Type.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TimeRangeTracker.Type</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/FlushType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">FlushType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScanType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScanType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DefaultHeapMemoryTuner.StepDirection.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DefaultHeapMemoryTuner.StepDirection</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScannerContext.NextState.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScannerContext.NextState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ChunkCreator.ChunkType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ChunkCreator.ChunkType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/MetricsRegionServerSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">MetricsRegionServerSourceFactoryImpl.FactoryStorage</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScannerContext.LimitScope.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScannerContext.LimitScope</span></a></li>
<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/Region.Operation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">Region.Operation</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/HRegion.FlushResult.Result.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">HRegion.FlushResult.Result</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/CompactingMemStore.IndexType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">CompactingMemStore.IndexType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/BloomType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">BloomType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/CompactingMemStore.IndexType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">CompactingMemStore.IndexType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/HRegion.FlushResult.Result.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">HRegion.FlushResult.Result</span></a></li>
<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/SplitLogWorker.TaskExecutor.Status.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">SplitLogWorker.TaskExecutor.Status</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ChunkCreator.ChunkType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ChunkCreator.ChunkType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScannerContext.LimitScope.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScannerContext.LimitScope</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScannerContext.NextState.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScannerContext.NextState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DefaultHeapMemoryTuner.StepDirection.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DefaultHeapMemoryTuner.StepDirection</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/FlushType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">FlushType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/MetricsRegionServerSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">MetricsRegionServerSourceFactoryImpl.FactoryStorage</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScanType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScanType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TimeRangeTracker.Type.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TimeRangeTracker.Type</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html b/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html
index 98a8913..0790b6c 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html
@@ -130,9 +130,9 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
+<li type="circle">org.apache.hadoop.hbase.regionserver.querymatcher.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/DeleteTracker.DeleteResult.html" title="enum in org.apache.hadoop.hbase.regionserver.querymatcher"><span class="typeNameLink">DeleteTracker.DeleteResult</span></a></li>
<li type="circle">org.apache.hadoop.hbase.regionserver.querymatcher.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/ScanQueryMatcher.MatchCode.html" title="enum in org.apache.hadoop.hbase.regionserver.querymatcher"><span class="typeNameLink">ScanQueryMatcher.MatchCode</span></a></li>
<li type="circle">org.apache.hadoop.hbase.regionserver.querymatcher.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/StripeCompactionScanQueryMatcher.DropDeletesInOutput.html" title="enum in org.apache.hadoop.hbase.regionserver.querymatcher"><span class="typeNameLink">StripeCompactionScanQueryMatcher.DropDeletesInOutput</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.querymatcher.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/DeleteTracker.DeleteResult.html" title="enum in org.apache.hadoop.hbase.regionserver.querymatcher"><span class="typeNameLink">DeleteTracker.DeleteResult</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/package-tree.html b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/package-tree.html
index a7fb612..4640693 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/package-tree.html
@@ -249,10 +249,10 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.regionserver.wal.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/CompressionContext.DictionaryIndex.html" title="enum in org.apache.hadoop.hbase.regionserver.wal"><span class="typeNameLink">CompressionContext.DictionaryIndex</span></a></li>
<li type="circle">org.apache.hadoop.hbase.regionserver.wal.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal"><span class="typeNameLink">ProtobufLogReader.WALHdrResult</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.wal.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/RingBufferTruck.Type.html" title="enum in org.apache.hadoop.hbase.regionserver.wal"><span class="typeNameLink">RingBufferTruck.Type</span></a></li>
<li type="circle">org.apache.hadoop.hbase.regionserver.wal.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.RollRequestReason.html" title="enum in org.apache.hadoop.hbase.regionserver.wal"><span class="typeNameLink">WALActionsListener.RollRequestReason</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.wal.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/CompressionContext.DictionaryIndex.html" title="enum in org.apache.hadoop.hbase.regionserver.wal"><span class="typeNameLink">CompressionContext.DictionaryIndex</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.wal.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/RingBufferTruck.Type.html" title="enum in org.apache.hadoop.hbase.regionserver.wal"><span class="typeNameLink">RingBufferTruck.Type</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html
index d7e3539..79d1804 100644
--- a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html
+++ b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":9,"i19":10,"i20":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":9,"i19":10,"i20":10,"i21":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -302,7 +302,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html
</td>
</tr>
<tr id="i5" class="rowColor">
-<td class="colFirst"><code>protected <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#createBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">createBatch</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryStream</a> entryStream)</code> </td>
</tr>
<tr id="i6" class="altColor">
@@ -341,7 +341,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#poll-long-">poll</a></span>(long timeout)</code> </td>
</tr>
<tr id="i14" class="altColor">
-<td class="colFirst"><code>protected <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#readWALEntries-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">readWALEntries</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserv [...]
<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)</code> </td>
</tr>
@@ -372,6 +372,10 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html
</td>
</tr>
<tr id="i20" class="altColor">
+<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#tryAdvanceStreamAndCreateWALBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">tryAdvanceStreamAndCreateWALBatch</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryStream</a>&nb [...]
+</tr>
+<tr id="i21" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#updateBatchStats-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-org.apache.hadoop.hbase.wal.WAL.Entry-long-">updateBatchStats</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch< [...]
<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> entry,
@@ -623,7 +627,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>addEntryToBatch</h4>
-<pre>protected final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.188">addEntryToBatch</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch,
+<pre>protected final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.174">addEntryToBatch</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch,
<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> entry)</pre>
</li>
</ul>
@@ -633,7 +637,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>switched</h4>
-<pre>protected static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.207">switched</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryStream</a> entryStream,
+<pre>protected static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.193">switched</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryStream</a> entryStream,
org.apache.hadoop.fs.Path path)</pre>
</li>
</ul>
@@ -643,10 +647,10 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>readWALEntries</h4>
-<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.215">readWALEntries</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.repl [...]
- <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
- <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
+<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.201">readWALEntries</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryStream</a> entryStream,
+ <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
@@ -660,7 +664,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>handleEmptyWALEntryBatch</h4>
-<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.259">handleEmptyWALEntryBatch</a>()
+<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.225">handleEmptyWALEntryBatch</a>()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
@@ -668,29 +672,41 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
</dl>
</li>
</ul>
+<a name="tryAdvanceStreamAndCreateWALBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>tryAdvanceStreamAndCreateWALBatch</h4>
+<pre>private <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.239">tryAdvanceStreamAndCreateWALBatch</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache. [...]
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
<a name="handleEofException-java.lang.Exception-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleEofException</h4>
-<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.285">handleEofException</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> e,
- <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
+<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.271">handleEofException</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> e,
+ <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)</pre>
<div class="block">This is to handle the EOFException from the WAL entry stream. EOFException should
be handled carefully because there are chances of data loss because of never replicating
the data. Thus we should always try to ship existing batch of entries here.
If there was only one log in the queue before EOF, we ship the empty batch here
and since reader is still active, in the next iteration of reader we will
stop the reader.
+ <p/>
If there was more than one log in the queue before EOF, we ship the existing batch
and reset the wal patch and position to the log with EOF, so shipper can remove
logs from replication queue</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true only the IOE can be handled</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
</dl>
</li>
</ul>
@@ -700,16 +716,14 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>addBatchToShippingQueue</h4>
-<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.321">addBatchToShippingQueue</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>,
- <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.306">addBatchToShippingQueue</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
<div class="block">Update the batch try to ship and return true if shipped</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>batch</code> - Batch of entries to ship</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code> - throws interrupted exception</dd>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - throws io exception from stream</dd>
</dl>
</li>
</ul>
@@ -719,7 +733,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>getCurrentPath</h4>
-<pre>public org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.329">getCurrentPath</a>()</pre>
+<pre>public org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.313">getCurrentPath</a>()</pre>
</li>
</ul>
<a name="checkQuota--">
@@ -728,7 +742,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>checkQuota</h4>
-<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.340">checkQuota</a>()</pre>
+<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.324">checkQuota</a>()</pre>
</li>
</ul>
<a name="createBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">
@@ -737,7 +751,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>createBatch</h4>
-<pre>protected final <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.351">createBatch</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.r [...]
+<pre>private <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.335">createBatch</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replicati [...]
</li>
</ul>
<a name="filterEntry-org.apache.hadoop.hbase.wal.WAL.Entry-">
@@ -746,7 +760,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>filterEntry</h4>
-<pre>protected final <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.355">filterEntry</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> entry)</pre>
+<pre>protected final <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.339">filterEntry</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> entry)</pre>
</li>
</ul>
<a name="take--">
@@ -755,7 +769,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>take</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.370">take</a>()
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.354">take</a>()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
<div class="block">Retrieves the next batch of WAL entries from the queue, waiting up to the specified time for a
batch to become available</div>
@@ -773,7 +787,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>poll</h4>
-<pre>public <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.374">poll</a>(long timeout)
+<pre>public <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.358">poll</a>(long timeout)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
@@ -787,7 +801,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>getEntrySizeIncludeBulkLoad</h4>
-<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.378">getEntrySizeIncludeBulkLoad</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> entry)</pre>
+<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.362">getEntrySizeIncludeBulkLoad</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> entry)</pre>
</li>
</ul>
<a name="getEntrySizeExcludeBulkLoad-org.apache.hadoop.hbase.wal.WAL.Entry-">
@@ -796,7 +810,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>getEntrySizeExcludeBulkLoad</h4>
-<pre>public static long <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.383">getEntrySizeExcludeBulkLoad</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> entry)</pre>
+<pre>public static long <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.367">getEntrySizeExcludeBulkLoad</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> entry)</pre>
</li>
</ul>
<a name="updateBatchStats-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-org.apache.hadoop.hbase.wal.WAL.Entry-long-">
@@ -805,7 +819,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>updateBatchStats</h4>
-<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.390">updateBatchStats</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch,
+<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.374">updateBatchStats</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch,
<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> entry,
long entrySize)</pre>
</li>
@@ -816,7 +830,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>countDistinctRowKeysAndHFiles</h4>
-<pre>private <a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../../src-html/org/apache/hadoo [...]
+<pre>private <a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../../src-html/org/apache/hadoo [...]
<div class="block">Count the number of different row keys in the given edit because of mini-batching. We assume
that there's at least one Cell in the WALEdit.</div>
<dl>
@@ -833,7 +847,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>sizeOfStoreFilesIncludeBulkLoad</h4>
-<pre>private int <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.442">sizeOfStoreFilesIncludeBulkLoad</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> edit)</pre>
+<pre>private int <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.426">sizeOfStoreFilesIncludeBulkLoad</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> edit)</pre>
<div class="block">Calculate the total size of all the store files</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -849,7 +863,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>acquireBufferQuota</h4>
-<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.471">acquireBufferQuota</a>(long size)</pre>
+<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.455">acquireBufferQuota</a>(long size)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - delta size for grown buffer</dd>
@@ -864,7 +878,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockList">
<li class="blockList">
<h4>isReaderRunning</h4>
-<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.481">isReaderRunning</a>()</pre>
+<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.465">isReaderRunning</a>()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether the reader thread is running</dd>
@@ -877,7 +891,7 @@ final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre
<ul class="blockListLast">
<li class="blockList">
<h4>setReaderRunning</h4>
-<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.488">setReaderRunning</a>(boolean readerRunning)</pre>
+<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#line.472">setReaderRunning</a>(boolean readerRunning)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>readerRunning</code> - the readerRunning to set</dd>
diff --git a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html
index 89b69c2..3f0b3d3 100644
--- a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html
+++ b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html
@@ -221,7 +221,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/replication/regionser
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
-<td class="colFirst"><code>protected <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html#readWALEntries-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">readWALEntries</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regi [...]
<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)</code> </td>
</tr>
@@ -236,7 +236,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/replication/regionser
<!-- -->
</a>
<h3>Methods inherited from class org.apache.hadoop.hbase.replication.regionserver.<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html" title="class in org.apache.hadoop.hbase.replication.regionserver">ReplicationSourceWALReader</a></h3>
-<code><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#addEntryToBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-org.apache.hadoop.hbase.wal.WAL.Entry-">addEntryToBatch</a>, <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#createBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">createBatch</a>, <a href="../../../../../../org/apac [...]
+<code><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#addEntryToBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-org.apache.hadoop.hbase.wal.WAL.Entry-">addEntryToBatch</a>, <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#filterEntry-org.apache.hadoop.hbase.wal.WAL.Entry-">filterEntry</a>, <a href="../../../../../../org/apache/hadoop/hbase/replicatio [...]
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Thread">
@@ -321,10 +321,10 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/replication/regionser
<ul class="blockList">
<li class="blockList">
<h4>readWALEntries</h4>
-<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html#line.53">readWALEntries</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase [...]
- <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
- <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
+<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html#line.53">readWALEntries</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryStream</a> entryStream,
+ <a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#readWALEntries-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">readWALEntries</a></code> in class <code><a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html" title="class in org.apache.hadoop.hbase.replication.regionserver">Repl [...]
@@ -340,7 +340,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/replication/regionser
<ul class="blockListLast">
<li class="blockList">
<h4>removeEntryFromStream</h4>
-<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html#line.128">removeEntryFromStream</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryStream</a> entryStream,
+<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html#line.110">removeEntryFromStream</a>(<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryStream</a> entryStream,
<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
diff --git a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/class-use/WALEntryBatch.html b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/class-use/WALEntryBatch.html
index c9c2b89..adf42ee 100644
--- a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/class-use/WALEntryBatch.html
+++ b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/class-use/WALEntryBatch.html
@@ -129,7 +129,7 @@
</tr>
<tbody>
<tr class="altColor">
-<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colFirst"><code>private <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#createBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">createBatch</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserve [...]
</tr>
<tr class="rowColor">
@@ -141,22 +141,16 @@
<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#poll-long-">poll</a></span>(long timeout)</code> </td>
</tr>
<tr class="rowColor">
-<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
-<td class="colLast"><span class="typeNameLabel">SerialReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html#readWALEntries-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">readWALEntries</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WAL [...]
- <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)</code> </td>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
-<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#readWALEntries-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">readWALEntries</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream. [...]
- <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)</code> </td>
-</tr>
-<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#take--">take</a></span>()</code>
<div class="block">Retrieves the next batch of WAL entries from the queue, waiting up to the specified time for a
batch to become available</div>
</td>
</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#tryAdvanceStreamAndCreateWALBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">tryAdvanceStreamAndCreateWALBatch</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org [...]
+</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
@@ -208,12 +202,12 @@
<td class="colLast"><span class="typeNameLabel">CatalogReplicationSource.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/CatalogReplicationSource.html#logPositionAndCleanOldLogs-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">logPositionAndCleanOldLogs</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase [...]
</tr>
<tr class="rowColor">
-<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="typeNameLabel">SerialReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html#readWALEntries-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">readWALEntries</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WAL [...]
<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)</code> </td>
</tr>
<tr class="altColor">
-<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#readWALEntries-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">readWALEntries</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream. [...]
<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)</code> </td>
</tr>
diff --git a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/class-use/WALEntryStream.html b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/class-use/WALEntryStream.html
index a017506..c402f3e 100644
--- a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/class-use/WALEntryStream.html
+++ b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/class-use/WALEntryStream.html
@@ -103,16 +103,16 @@
</tr>
<tbody>
<tr class="altColor">
-<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colFirst"><code>private <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#createBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">createBatch</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.replication.regionserve [...]
</tr>
<tr class="rowColor">
-<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="typeNameLabel">SerialReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html#readWALEntries-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">readWALEntries</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WAL [...]
<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)</code> </td>
</tr>
<tr class="altColor">
-<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#readWALEntries-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch-">readWALEntries</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream. [...]
<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a> batch)</code> </td>
</tr>
@@ -126,6 +126,10 @@
<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#switched-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-org.apache.hadoop.fs.Path-">switched</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org.apache.hadoop.hbase.rep [...]
org.apache.hadoop.fs.Path path)</code> </td>
</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryBatch.html" title="class in org.apache.hadoop.hbase.replication.regionserver">WALEntryBatch</a></code></td>
+<td class="colLast"><span class="typeNameLabel">ReplicationSourceWALReader.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html#tryAdvanceStreamAndCreateWALBatch-org.apache.hadoop.hbase.replication.regionserver.WALEntryStream-">tryAdvanceStreamAndCreateWALBatch</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.html" title="class in org [...]
+</tr>
</tbody>
</table>
</li>
diff --git a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/package-tree.html b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/package-tree.html
index 05adce3..0f249cf 100644
--- a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/package-tree.html
@@ -221,8 +221,8 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.replication.regionserver.<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/MetricsReplicationSourceFactoryImpl.SourceHolder.html" title="enum in org.apache.hadoop.hbase.replication.regionserver"><span class="typeNameLink">MetricsReplicationSourceFactoryImpl.SourceHolder</span></a></li>
<li type="circle">org.apache.hadoop.hbase.replication.regionserver.<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceShipper.WorkerState.html" title="enum in org.apache.hadoop.hbase.replication.regionserver"><span class="typeNameLink">ReplicationSourceShipper.WorkerState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.replication.regionserver.<a href="../../../../../../org/apache/hadoop/hbase/replication/regionserver/MetricsReplicationSourceFactoryImpl.SourceHolder.html" title="enum in org.apache.hadoop.hbase.replication.regionserver"><span class="typeNameLink">MetricsReplicationSourceFactoryImpl.SourceHolder</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html b/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html
index 629c649..01e2dcd 100644
--- a/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html
@@ -162,12 +162,12 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Scope.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Permission.Scope</span></a></li>
<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlFilter.Strategy.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">AccessControlFilter.Strategy</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">AccessController.OpType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Permission.Action</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">AccessController.OpType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Scope.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Permission.Scope</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/security/package-tree.html b/devapidocs/org/apache/hadoop/hbase/security/package-tree.html
index a17fb57..a7498b0 100644
--- a/devapidocs/org/apache/hadoop/hbase/security/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/security/package-tree.html
@@ -189,9 +189,9 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
+<li type="circle">org.apache.hadoop.hbase.security.<a href="../../../../../org/apache/hadoop/hbase/security/AuthMethod.html" title="enum in org.apache.hadoop.hbase.security"><span class="typeNameLink">AuthMethod</span></a></li>
<li type="circle">org.apache.hadoop.hbase.security.<a href="../../../../../org/apache/hadoop/hbase/security/SaslUtil.QualityOfProtection.html" title="enum in org.apache.hadoop.hbase.security"><span class="typeNameLink">SaslUtil.QualityOfProtection</span></a></li>
<li type="circle">org.apache.hadoop.hbase.security.<a href="../../../../../org/apache/hadoop/hbase/security/SaslStatus.html" title="enum in org.apache.hadoop.hbase.security"><span class="typeNameLink">SaslStatus</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.security.<a href="../../../../../org/apache/hadoop/hbase/security/AuthMethod.html" title="enum in org.apache.hadoop.hbase.security"><span class="typeNameLink">AuthMethod</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/util/package-tree.html b/devapidocs/org/apache/hadoop/hbase/util/package-tree.html
index 37fb530..6c4d684 100644
--- a/devapidocs/org/apache/hadoop/hbase/util/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/util/package-tree.html
@@ -534,15 +534,15 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Order.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Order</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.PureJavaComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a><T>)</li>
-<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.UnsafeComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.UnsafeComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a><T>)</li>
-<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/ChecksumType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">ChecksumType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/PrettyPrinter.Unit.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">PrettyPrinter.Unit</span></a></li>
<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/DNS.ServerType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">DNS.ServerType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/PrettyPrinter.Unit.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">PrettyPrinter.Unit</span></a></li>
<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/PoolMap.PoolType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">PoolMap.PoolType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.UnsafeComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.UnsafeComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a><T>)</li>
<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/HbckErrorReporter.ERROR_CODE.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">HbckErrorReporter.ERROR_CODE</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/ChecksumType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">ChecksumType</span></a></li>
<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/IdReadWriteLockWithObjectPool.ReferenceType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">IdReadWriteLockWithObjectPool.ReferenceType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.PureJavaComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a><T>)</li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Order.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Order</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/org/apache/hadoop/hbase/wal/package-tree.html b/devapidocs/org/apache/hadoop/hbase/wal/package-tree.html
index 791fd83..a04f920 100644
--- a/devapidocs/org/apache/hadoop/hbase/wal/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/wal/package-tree.html
@@ -198,8 +198,8 @@
<ul>
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
<ul>
-<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/RegionGroupingProvider.Strategies.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">RegionGroupingProvider.Strategies</span></a></li>
<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/WALFactory.Providers.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">WALFactory.Providers</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/RegionGroupingProvider.Strategies.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">RegionGroupingProvider.Strategies</span></a></li>
</ul>
</li>
</ul>
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html
index d23076e..ae8d583 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.html
@@ -130,373 +130,357 @@
<span class="sourceLineNo">122</span> @Override<a name="line.122"></a>
<span class="sourceLineNo">123</span> public void run() {<a name="line.123"></a>
<span class="sourceLineNo">124</span> int sleepMultiplier = 1;<a name="line.124"></a>
-<span class="sourceLineNo">125</span> WALEntryBatch batch = null;<a name="line.125"></a>
-<span class="sourceLineNo">126</span> WALEntryStream entryStream = null;<a name="line.126"></a>
-<span class="sourceLineNo">127</span> try {<a name="line.127"></a>
-<span class="sourceLineNo">128</span> // we only loop back here if something fatal happened to our stream<a name="line.128"></a>
-<span class="sourceLineNo">129</span> while (isReaderRunning()) {<a name="line.129"></a>
-<span class="sourceLineNo">130</span> try {<a name="line.130"></a>
-<span class="sourceLineNo">131</span> entryStream =<a name="line.131"></a>
-<span class="sourceLineNo">132</span> new WALEntryStream(logQueue, conf, currentPosition, source.getWALFileLengthProvider(),<a name="line.132"></a>
-<span class="sourceLineNo">133</span> source.getServerWALsBelongTo(), source.getSourceMetrics(), walGroupId);<a name="line.133"></a>
-<span class="sourceLineNo">134</span> while (isReaderRunning()) { // loop here to keep reusing stream while we can<a name="line.134"></a>
-<span class="sourceLineNo">135</span> if (!source.isPeerEnabled()) {<a name="line.135"></a>
-<span class="sourceLineNo">136</span> Threads.sleep(sleepForRetries);<a name="line.136"></a>
-<span class="sourceLineNo">137</span> continue;<a name="line.137"></a>
-<span class="sourceLineNo">138</span> }<a name="line.138"></a>
-<span class="sourceLineNo">139</span> if (!checkQuota()) {<a name="line.139"></a>
-<span class="sourceLineNo">140</span> continue;<a name="line.140"></a>
-<span class="sourceLineNo">141</span> }<a name="line.141"></a>
-<span class="sourceLineNo">142</span><a name="line.142"></a>
-<span class="sourceLineNo">143</span> batch = createBatch(entryStream);<a name="line.143"></a>
-<span class="sourceLineNo">144</span> batch = readWALEntries(entryStream, batch);<a name="line.144"></a>
-<span class="sourceLineNo">145</span> currentPosition = entryStream.getPosition();<a name="line.145"></a>
-<span class="sourceLineNo">146</span> if (batch == null) {<a name="line.146"></a>
-<span class="sourceLineNo">147</span> // either the queue have no WAL to read<a name="line.147"></a>
-<span class="sourceLineNo">148</span> // or got no new entries (didn't advance position in WAL)<a name="line.148"></a>
-<span class="sourceLineNo">149</span> handleEmptyWALEntryBatch();<a name="line.149"></a>
-<span class="sourceLineNo">150</span> entryStream.reset(); // reuse stream<a name="line.150"></a>
-<span class="sourceLineNo">151</span> } else {<a name="line.151"></a>
-<span class="sourceLineNo">152</span> addBatchToShippingQueue(batch);<a name="line.152"></a>
-<span class="sourceLineNo">153</span> }<a name="line.153"></a>
-<span class="sourceLineNo">154</span> }<a name="line.154"></a>
-<span class="sourceLineNo">155</span> } catch (WALEntryFilterRetryableException | IOException e) { // stream related<a name="line.155"></a>
-<span class="sourceLineNo">156</span> if (handleEofException(e, batch)) {<a name="line.156"></a>
-<span class="sourceLineNo">157</span> sleepMultiplier = 1;<a name="line.157"></a>
-<span class="sourceLineNo">158</span> } else {<a name="line.158"></a>
-<span class="sourceLineNo">159</span> LOG.warn("Failed to read stream of replication entries "<a name="line.159"></a>
-<span class="sourceLineNo">160</span> + "or replication filter is recovering", e);<a name="line.160"></a>
-<span class="sourceLineNo">161</span> if (sleepMultiplier < maxRetriesMultiplier) {<a name="line.161"></a>
-<span class="sourceLineNo">162</span> sleepMultiplier++;<a name="line.162"></a>
-<span class="sourceLineNo">163</span> }<a name="line.163"></a>
-<span class="sourceLineNo">164</span> Threads.sleep(sleepForRetries * sleepMultiplier);<a name="line.164"></a>
-<span class="sourceLineNo">165</span> }<a name="line.165"></a>
-<span class="sourceLineNo">166</span> } catch (InterruptedException e) {<a name="line.166"></a>
-<span class="sourceLineNo">167</span> LOG.trace("Interrupted while sleeping between WAL reads");<a name="line.167"></a>
-<span class="sourceLineNo">168</span> Thread.currentThread().interrupt();<a name="line.168"></a>
-<span class="sourceLineNo">169</span> } finally {<a name="line.169"></a>
-<span class="sourceLineNo">170</span> entryStream.close();<a name="line.170"></a>
-<span class="sourceLineNo">171</span> }<a name="line.171"></a>
-<span class="sourceLineNo">172</span> }<a name="line.172"></a>
-<span class="sourceLineNo">173</span> } catch (IOException e) {<a name="line.173"></a>
-<span class="sourceLineNo">174</span> if (sleepMultiplier < maxRetriesMultiplier) {<a name="line.174"></a>
-<span class="sourceLineNo">175</span> LOG.debug("Failed to read stream of replication entries: ", e);<a name="line.175"></a>
-<span class="sourceLineNo">176</span> sleepMultiplier++;<a name="line.176"></a>
-<span class="sourceLineNo">177</span> } else {<a name="line.177"></a>
-<span class="sourceLineNo">178</span> LOG.error("Failed to read stream of replication entries", e);<a name="line.178"></a>
-<span class="sourceLineNo">179</span> }<a name="line.179"></a>
-<span class="sourceLineNo">180</span> Threads.sleep(sleepForRetries * sleepMultiplier);<a name="line.180"></a>
-<span class="sourceLineNo">181</span> } catch (InterruptedException e) {<a name="line.181"></a>
-<span class="sourceLineNo">182</span> LOG.trace("Interrupted while sleeping between WAL reads");<a name="line.182"></a>
-<span class="sourceLineNo">183</span> Thread.currentThread().interrupt();<a name="line.183"></a>
-<span class="sourceLineNo">184</span> }<a name="line.184"></a>
-<span class="sourceLineNo">185</span> }<a name="line.185"></a>
-<span class="sourceLineNo">186</span><a name="line.186"></a>
-<span class="sourceLineNo">187</span> // returns true if we reach the size limit for batch, i.e, we need to finish the batch and return.<a name="line.187"></a>
-<span class="sourceLineNo">188</span> protected final boolean addEntryToBatch(WALEntryBatch batch, Entry entry) {<a name="line.188"></a>
-<span class="sourceLineNo">189</span> WALEdit edit = entry.getEdit();<a name="line.189"></a>
-<span class="sourceLineNo">190</span> if (edit == null || edit.isEmpty()) {<a name="line.190"></a>
-<span class="sourceLineNo">191</span> LOG.debug("Edit null or empty for entry {} ", entry);<a name="line.191"></a>
-<span class="sourceLineNo">192</span> return false;<a name="line.192"></a>
-<span class="sourceLineNo">193</span> }<a name="line.193"></a>
-<span class="sourceLineNo">194</span> LOG.debug("updating TimeStampOfLastAttempted to {}, from entry {}, for source queue: {}",<a name="line.194"></a>
-<span class="sourceLineNo">195</span> entry.getKey().getWriteTime(), entry.getKey(), this.source.getQueueId());<a name="line.195"></a>
-<span class="sourceLineNo">196</span> long entrySize = getEntrySizeIncludeBulkLoad(entry);<a name="line.196"></a>
-<span class="sourceLineNo">197</span> long entrySizeExcludeBulkLoad = getEntrySizeExcludeBulkLoad(entry);<a name="line.197"></a>
-<span class="sourceLineNo">198</span> batch.addEntry(entry, entrySize);<a name="line.198"></a>
-<span class="sourceLineNo">199</span> updateBatchStats(batch, entry, entrySize);<a name="line.199"></a>
-<span class="sourceLineNo">200</span> boolean totalBufferTooLarge = acquireBufferQuota(entrySizeExcludeBulkLoad);<a name="line.200"></a>
-<span class="sourceLineNo">201</span><a name="line.201"></a>
-<span class="sourceLineNo">202</span> // Stop if too many entries or too big<a name="line.202"></a>
-<span class="sourceLineNo">203</span> return totalBufferTooLarge || batch.getHeapSize() >= replicationBatchSizeCapacity ||<a name="line.203"></a>
-<span class="sourceLineNo">204</span> batch.getNbEntries() >= replicationBatchCountCapacity;<a name="line.204"></a>
-<span class="sourceLineNo">205</span> }<a name="line.205"></a>
-<span class="sourceLineNo">206</span><a name="line.206"></a>
-<span class="sourceLineNo">207</span> protected static final boolean switched(WALEntryStream entryStream, Path path) {<a name="line.207"></a>
-<span class="sourceLineNo">208</span> Path newPath = entryStream.getCurrentPath();<a name="line.208"></a>
-<span class="sourceLineNo">209</span> return newPath == null || !path.getName().equals(newPath.getName());<a name="line.209"></a>
-<span class="sourceLineNo">210</span> }<a name="line.210"></a>
-<span class="sourceLineNo">211</span><a name="line.211"></a>
-<span class="sourceLineNo">212</span> // We need to get the WALEntryBatch from the caller so we can add entries in there<a name="line.212"></a>
-<span class="sourceLineNo">213</span> // This is required in case there is any exception in while reading entries<a name="line.213"></a>
-<span class="sourceLineNo">214</span> // we do want to loss the existing entries in the batch<a name="line.214"></a>
-<span class="sourceLineNo">215</span> protected WALEntryBatch readWALEntries(WALEntryStream entryStream,<a name="line.215"></a>
-<span class="sourceLineNo">216</span> WALEntryBatch batch) throws IOException, InterruptedException {<a name="line.216"></a>
-<span class="sourceLineNo">217</span> Path currentPath = entryStream.getCurrentPath();<a name="line.217"></a>
-<span class="sourceLineNo">218</span> if (!entryStream.hasNext()) {<a name="line.218"></a>
-<span class="sourceLineNo">219</span> // check whether we have switched a file<a name="line.219"></a>
-<span class="sourceLineNo">220</span> if (currentPath != null && switched(entryStream, currentPath)) {<a name="line.220"></a>
-<span class="sourceLineNo">221</span> return WALEntryBatch.endOfFile(currentPath);<a name="line.221"></a>
-<span class="sourceLineNo">222</span> } else {<a name="line.222"></a>
-<span class="sourceLineNo">223</span> // This would mean either no more files in the queue<a name="line.223"></a>
-<span class="sourceLineNo">224</span> // or there is no new data yet on the current wal<a name="line.224"></a>
-<span class="sourceLineNo">225</span> return null;<a name="line.225"></a>
-<span class="sourceLineNo">226</span> }<a name="line.226"></a>
-<span class="sourceLineNo">227</span> }<a name="line.227"></a>
-<span class="sourceLineNo">228</span> if (currentPath != null) {<a name="line.228"></a>
-<span class="sourceLineNo">229</span> if (switched(entryStream, currentPath)) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span> return WALEntryBatch.endOfFile(currentPath);<a name="line.230"></a>
-<span class="sourceLineNo">231</span> }<a name="line.231"></a>
-<span class="sourceLineNo">232</span> } else {<a name="line.232"></a>
-<span class="sourceLineNo">233</span> // when reading from the entry stream first time we will enter here<a name="line.233"></a>
-<span class="sourceLineNo">234</span> currentPath = entryStream.getCurrentPath();<a name="line.234"></a>
-<span class="sourceLineNo">235</span> }<a name="line.235"></a>
-<span class="sourceLineNo">236</span> batch.setLastWalPath(currentPath);<a name="line.236"></a>
-<span class="sourceLineNo">237</span> for (;;) {<a name="line.237"></a>
-<span class="sourceLineNo">238</span> Entry entry = entryStream.next();<a name="line.238"></a>
-<span class="sourceLineNo">239</span> batch.setLastWalPosition(entryStream.getPosition());<a name="line.239"></a>
-<span class="sourceLineNo">240</span> entry = filterEntry(entry);<a name="line.240"></a>
-<span class="sourceLineNo">241</span> if (entry != null) {<a name="line.241"></a>
-<span class="sourceLineNo">242</span> if (addEntryToBatch(batch, entry)) {<a name="line.242"></a>
-<span class="sourceLineNo">243</span> break;<a name="line.243"></a>
-<span class="sourceLineNo">244</span> }<a name="line.244"></a>
-<span class="sourceLineNo">245</span> }<a name="line.245"></a>
-<span class="sourceLineNo">246</span> boolean hasNext = entryStream.hasNext();<a name="line.246"></a>
-<span class="sourceLineNo">247</span> // always return if we have switched to a new file<a name="line.247"></a>
-<span class="sourceLineNo">248</span> if (switched(entryStream, currentPath)) {<a name="line.248"></a>
-<span class="sourceLineNo">249</span> batch.setEndOfFile(true);<a name="line.249"></a>
-<span class="sourceLineNo">250</span> break;<a name="line.250"></a>
-<span class="sourceLineNo">251</span> }<a name="line.251"></a>
-<span class="sourceLineNo">252</span> if (!hasNext) {<a name="line.252"></a>
-<span class="sourceLineNo">253</span> break;<a name="line.253"></a>
-<span class="sourceLineNo">254</span> }<a name="line.254"></a>
-<span class="sourceLineNo">255</span> }<a name="line.255"></a>
-<span class="sourceLineNo">256</span> return batch;<a name="line.256"></a>
-<span class="sourceLineNo">257</span> }<a name="line.257"></a>
-<span class="sourceLineNo">258</span><a name="line.258"></a>
-<span class="sourceLineNo">259</span> private void handleEmptyWALEntryBatch() throws InterruptedException {<a name="line.259"></a>
-<span class="sourceLineNo">260</span> LOG.trace("Didn't read any new entries from WAL");<a name="line.260"></a>
-<span class="sourceLineNo">261</span> if (logQueue.getQueue(walGroupId).isEmpty()) {<a name="line.261"></a>
-<span class="sourceLineNo">262</span> // we're done with current queue, either this is a recovered queue, or it is the special group<a name="line.262"></a>
-<span class="sourceLineNo">263</span> // for a sync replication peer and the peer has been transited to DA or S state.<a name="line.263"></a>
-<span class="sourceLineNo">264</span> LOG.debug("Stopping the replication source wal reader");<a name="line.264"></a>
-<span class="sourceLineNo">265</span> setReaderRunning(false);<a name="line.265"></a>
-<span class="sourceLineNo">266</span> // shuts down shipper thread immediately<a name="line.266"></a>
-<span class="sourceLineNo">267</span> entryBatchQueue.put(WALEntryBatch.NO_MORE_DATA);<a name="line.267"></a>
-<span class="sourceLineNo">268</span> } else {<a name="line.268"></a>
-<span class="sourceLineNo">269</span> Thread.sleep(sleepForRetries);<a name="line.269"></a>
-<span class="sourceLineNo">270</span> }<a name="line.270"></a>
-<span class="sourceLineNo">271</span> }<a name="line.271"></a>
-<span class="sourceLineNo">272</span><a name="line.272"></a>
-<span class="sourceLineNo">273</span> /**<a name="line.273"></a>
-<span class="sourceLineNo">274</span> * This is to handle the EOFException from the WAL entry stream. EOFException should<a name="line.274"></a>
-<span class="sourceLineNo">275</span> * be handled carefully because there are chances of data loss because of never replicating<a name="line.275"></a>
-<span class="sourceLineNo">276</span> * the data. Thus we should always try to ship existing batch of entries here.<a name="line.276"></a>
-<span class="sourceLineNo">277</span> * If there was only one log in the queue before EOF, we ship the empty batch here<a name="line.277"></a>
-<span class="sourceLineNo">278</span> * and since reader is still active, in the next iteration of reader we will<a name="line.278"></a>
-<span class="sourceLineNo">279</span> * stop the reader.<a name="line.279"></a>
-<span class="sourceLineNo">280</span> * If there was more than one log in the queue before EOF, we ship the existing batch<a name="line.280"></a>
-<span class="sourceLineNo">281</span> * and reset the wal patch and position to the log with EOF, so shipper can remove<a name="line.281"></a>
-<span class="sourceLineNo">282</span> * logs from replication queue<a name="line.282"></a>
-<span class="sourceLineNo">283</span> * @return true only the IOE can be handled<a name="line.283"></a>
-<span class="sourceLineNo">284</span> */<a name="line.284"></a>
-<span class="sourceLineNo">285</span> private boolean handleEofException(Exception e, WALEntryBatch batch)<a name="line.285"></a>
-<span class="sourceLineNo">286</span> throws InterruptedException {<a name="line.286"></a>
-<span class="sourceLineNo">287</span> PriorityBlockingQueue<Path> queue = logQueue.getQueue(walGroupId);<a name="line.287"></a>
-<span class="sourceLineNo">288</span> // Dump the log even if logQueue size is 1 if the source is from recovered Source<a name="line.288"></a>
-<span class="sourceLineNo">289</span> // since we don't add current log to recovered source queue so it is safe to remove.<a name="line.289"></a>
-<span class="sourceLineNo">290</span> if ((e instanceof EOFException || e.getCause() instanceof EOFException)<a name="line.290"></a>
-<span class="sourceLineNo">291</span> && (source.isRecovered() || queue.size() > 1)<a name="line.291"></a>
-<span class="sourceLineNo">292</span> && this.eofAutoRecovery) {<a name="line.292"></a>
-<span class="sourceLineNo">293</span> Path head = queue.peek();<a name="line.293"></a>
-<span class="sourceLineNo">294</span> try {<a name="line.294"></a>
-<span class="sourceLineNo">295</span> if (fs.getFileStatus(head).getLen() == 0) {<a name="line.295"></a>
-<span class="sourceLineNo">296</span> // head of the queue is an empty log file<a name="line.296"></a>
-<span class="sourceLineNo">297</span> LOG.warn("Forcing removal of 0 length log in queue: {}", head);<a name="line.297"></a>
-<span class="sourceLineNo">298</span> logQueue.remove(walGroupId);<a name="line.298"></a>
-<span class="sourceLineNo">299</span> currentPosition = 0;<a name="line.299"></a>
-<span class="sourceLineNo">300</span> // After we removed the WAL from the queue, we should<a name="line.300"></a>
-<span class="sourceLineNo">301</span> // try shipping the existing batch of entries and set the wal position<a name="line.301"></a>
-<span class="sourceLineNo">302</span> // and path to the wal just dequeued to correctly remove logs from the zk<a name="line.302"></a>
-<span class="sourceLineNo">303</span> batch.setLastWalPath(head);<a name="line.303"></a>
-<span class="sourceLineNo">304</span> batch.setLastWalPosition(currentPosition);<a name="line.304"></a>
-<span class="sourceLineNo">305</span> addBatchToShippingQueue(batch);<a name="line.305"></a>
-<span class="sourceLineNo">306</span> return true;<a name="line.306"></a>
-<span class="sourceLineNo">307</span> }<a name="line.307"></a>
-<span class="sourceLineNo">308</span> } catch (IOException ioe) {<a name="line.308"></a>
-<span class="sourceLineNo">309</span> LOG.warn("Couldn't get file length information about log " + queue.peek(), ioe);<a name="line.309"></a>
-<span class="sourceLineNo">310</span> }<a name="line.310"></a>
-<span class="sourceLineNo">311</span> }<a name="line.311"></a>
-<span class="sourceLineNo">312</span> return false;<a name="line.312"></a>
-<span class="sourceLineNo">313</span> }<a name="line.313"></a>
-<span class="sourceLineNo">314</span><a name="line.314"></a>
-<span class="sourceLineNo">315</span> /**<a name="line.315"></a>
-<span class="sourceLineNo">316</span> * Update the batch try to ship and return true if shipped<a name="line.316"></a>
-<span class="sourceLineNo">317</span> * @param batch Batch of entries to ship<a name="line.317"></a>
-<span class="sourceLineNo">318</span> * @throws InterruptedException throws interrupted exception<a name="line.318"></a>
-<span class="sourceLineNo">319</span> * @throws IOException throws io exception from stream<a name="line.319"></a>
-<span class="sourceLineNo">320</span> */<a name="line.320"></a>
-<span class="sourceLineNo">321</span> private void addBatchToShippingQueue(WALEntryBatch batch)<a name="line.321"></a>
-<span class="sourceLineNo">322</span> throws InterruptedException, IOException {<a name="line.322"></a>
-<span class="sourceLineNo">323</span> // need to propagate the batch even it has no entries since it may carry the last<a name="line.323"></a>
-<span class="sourceLineNo">324</span> // sequence id information for serial replication.<a name="line.324"></a>
-<span class="sourceLineNo">325</span> LOG.debug("Read {} WAL entries eligible for replication", batch.getNbEntries());<a name="line.325"></a>
-<span class="sourceLineNo">326</span> entryBatchQueue.put(batch);<a name="line.326"></a>
-<span class="sourceLineNo">327</span> }<a name="line.327"></a>
-<span class="sourceLineNo">328</span><a name="line.328"></a>
-<span class="sourceLineNo">329</span> public Path getCurrentPath() {<a name="line.329"></a>
-<span class="sourceLineNo">330</span> // if we've read some WAL entries, get the Path we read from<a name="line.330"></a>
-<span class="sourceLineNo">331</span> WALEntryBatch batchQueueHead = entryBatchQueue.peek();<a name="line.331"></a>
-<span class="sourceLineNo">332</span> if (batchQueueHead != null) {<a name="line.332"></a>
-<span class="sourceLineNo">333</span> return batchQueueHead.getLastWalPath();<a name="line.333"></a>
-<span class="sourceLineNo">334</span> }<a name="line.334"></a>
-<span class="sourceLineNo">335</span> // otherwise, we must be currently reading from the head of the log queue<a name="line.335"></a>
-<span class="sourceLineNo">336</span> return logQueue.getQueue(walGroupId).peek();<a name="line.336"></a>
+<span class="sourceLineNo">125</span> while (isReaderRunning()) { // we only loop back here if something fatal happened to our stream<a name="line.125"></a>
+<span class="sourceLineNo">126</span> WALEntryBatch batch = null;<a name="line.126"></a>
+<span class="sourceLineNo">127</span> try (WALEntryStream entryStream =<a name="line.127"></a>
+<span class="sourceLineNo">128</span> new WALEntryStream(logQueue, conf, currentPosition,<a name="line.128"></a>
+<span class="sourceLineNo">129</span> source.getWALFileLengthProvider(), source.getServerWALsBelongTo(),<a name="line.129"></a>
+<span class="sourceLineNo">130</span> source.getSourceMetrics(), walGroupId)) {<a name="line.130"></a>
+<span class="sourceLineNo">131</span> while (isReaderRunning()) { // loop here to keep reusing stream while we can<a name="line.131"></a>
+<span class="sourceLineNo">132</span> batch = null;<a name="line.132"></a>
+<span class="sourceLineNo">133</span> if (!source.isPeerEnabled()) {<a name="line.133"></a>
+<span class="sourceLineNo">134</span> Threads.sleep(sleepForRetries);<a name="line.134"></a>
+<span class="sourceLineNo">135</span> continue;<a name="line.135"></a>
+<span class="sourceLineNo">136</span> }<a name="line.136"></a>
+<span class="sourceLineNo">137</span> if (!checkQuota()) {<a name="line.137"></a>
+<span class="sourceLineNo">138</span> continue;<a name="line.138"></a>
+<span class="sourceLineNo">139</span> }<a name="line.139"></a>
+<span class="sourceLineNo">140</span> batch = tryAdvanceStreamAndCreateWALBatch(entryStream);<a name="line.140"></a>
+<span class="sourceLineNo">141</span> if (batch == null) {<a name="line.141"></a>
+<span class="sourceLineNo">142</span> // got no entries and didn't advance position in WAL<a name="line.142"></a>
+<span class="sourceLineNo">143</span> handleEmptyWALEntryBatch();<a name="line.143"></a>
+<span class="sourceLineNo">144</span> entryStream.reset(); // reuse stream<a name="line.144"></a>
+<span class="sourceLineNo">145</span> continue;<a name="line.145"></a>
+<span class="sourceLineNo">146</span> }<a name="line.146"></a>
+<span class="sourceLineNo">147</span> // if we have already switched a file, skip reading and put it directly to the ship queue<a name="line.147"></a>
+<span class="sourceLineNo">148</span> if (!batch.isEndOfFile()) {<a name="line.148"></a>
+<span class="sourceLineNo">149</span> readWALEntries(entryStream, batch);<a name="line.149"></a>
+<span class="sourceLineNo">150</span> currentPosition = entryStream.getPosition();<a name="line.150"></a>
+<span class="sourceLineNo">151</span> }<a name="line.151"></a>
+<span class="sourceLineNo">152</span> // need to propagate the batch even it has no entries since it may carry the last<a name="line.152"></a>
+<span class="sourceLineNo">153</span> // sequence id information for serial replication.<a name="line.153"></a>
+<span class="sourceLineNo">154</span> LOG.debug("Read {} WAL entries eligible for replication", batch.getNbEntries());<a name="line.154"></a>
+<span class="sourceLineNo">155</span> entryBatchQueue.put(batch);<a name="line.155"></a>
+<span class="sourceLineNo">156</span> sleepMultiplier = 1;<a name="line.156"></a>
+<span class="sourceLineNo">157</span> }<a name="line.157"></a>
+<span class="sourceLineNo">158</span> } catch (IOException e) { // stream related<a name="line.158"></a>
+<span class="sourceLineNo">159</span> if (!handleEofException(e, batch)) {<a name="line.159"></a>
+<span class="sourceLineNo">160</span> LOG.warn("Failed to read stream of replication entries", e);<a name="line.160"></a>
+<span class="sourceLineNo">161</span> if (sleepMultiplier < maxRetriesMultiplier) {<a name="line.161"></a>
+<span class="sourceLineNo">162</span> sleepMultiplier ++;<a name="line.162"></a>
+<span class="sourceLineNo">163</span> }<a name="line.163"></a>
+<span class="sourceLineNo">164</span> Threads.sleep(sleepForRetries * sleepMultiplier);<a name="line.164"></a>
+<span class="sourceLineNo">165</span> }<a name="line.165"></a>
+<span class="sourceLineNo">166</span> } catch (InterruptedException e) {<a name="line.166"></a>
+<span class="sourceLineNo">167</span> LOG.trace("Interrupted while sleeping between WAL reads or adding WAL batch to ship queue");<a name="line.167"></a>
+<span class="sourceLineNo">168</span> Thread.currentThread().interrupt();<a name="line.168"></a>
+<span class="sourceLineNo">169</span> }<a name="line.169"></a>
+<span class="sourceLineNo">170</span> }<a name="line.170"></a>
+<span class="sourceLineNo">171</span> }<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span> // returns true if we reach the size limit for batch, i.e, we need to finish the batch and return.<a name="line.173"></a>
+<span class="sourceLineNo">174</span> protected final boolean addEntryToBatch(WALEntryBatch batch, Entry entry) {<a name="line.174"></a>
+<span class="sourceLineNo">175</span> WALEdit edit = entry.getEdit();<a name="line.175"></a>
+<span class="sourceLineNo">176</span> if (edit == null || edit.isEmpty()) {<a name="line.176"></a>
+<span class="sourceLineNo">177</span> LOG.debug("Edit null or empty for entry {} ", entry);<a name="line.177"></a>
+<span class="sourceLineNo">178</span> return false;<a name="line.178"></a>
+<span class="sourceLineNo">179</span> }<a name="line.179"></a>
+<span class="sourceLineNo">180</span> LOG.debug("updating TimeStampOfLastAttempted to {}, from entry {}, for source queue: {}",<a name="line.180"></a>
+<span class="sourceLineNo">181</span> entry.getKey().getWriteTime(), entry.getKey(), this.source.getQueueId());<a name="line.181"></a>
+<span class="sourceLineNo">182</span> long entrySize = getEntrySizeIncludeBulkLoad(entry);<a name="line.182"></a>
+<span class="sourceLineNo">183</span> long entrySizeExcludeBulkLoad = getEntrySizeExcludeBulkLoad(entry);<a name="line.183"></a>
+<span class="sourceLineNo">184</span> batch.addEntry(entry, entrySize);<a name="line.184"></a>
+<span class="sourceLineNo">185</span> updateBatchStats(batch, entry, entrySize);<a name="line.185"></a>
+<span class="sourceLineNo">186</span> boolean totalBufferTooLarge = acquireBufferQuota(entrySizeExcludeBulkLoad);<a name="line.186"></a>
+<span class="sourceLineNo">187</span><a name="line.187"></a>
+<span class="sourceLineNo">188</span> // Stop if too many entries or too big<a name="line.188"></a>
+<span class="sourceLineNo">189</span> return totalBufferTooLarge || batch.getHeapSize() >= replicationBatchSizeCapacity ||<a name="line.189"></a>
+<span class="sourceLineNo">190</span> batch.getNbEntries() >= replicationBatchCountCapacity;<a name="line.190"></a>
+<span class="sourceLineNo">191</span> }<a name="line.191"></a>
+<span class="sourceLineNo">192</span><a name="line.192"></a>
+<span class="sourceLineNo">193</span> protected static final boolean switched(WALEntryStream entryStream, Path path) {<a name="line.193"></a>
+<span class="sourceLineNo">194</span> Path newPath = entryStream.getCurrentPath();<a name="line.194"></a>
+<span class="sourceLineNo">195</span> return newPath == null || !path.getName().equals(newPath.getName());<a name="line.195"></a>
+<span class="sourceLineNo">196</span> }<a name="line.196"></a>
+<span class="sourceLineNo">197</span><a name="line.197"></a>
+<span class="sourceLineNo">198</span> // We need to get the WALEntryBatch from the caller so we can add entries in there<a name="line.198"></a>
+<span class="sourceLineNo">199</span> // This is required in case there is any exception in while reading entries<a name="line.199"></a>
+<span class="sourceLineNo">200</span> // we do not want to loss the existing entries in the batch<a name="line.200"></a>
+<span class="sourceLineNo">201</span> protected void readWALEntries(WALEntryStream entryStream, WALEntryBatch batch)<a name="line.201"></a>
+<span class="sourceLineNo">202</span> throws IOException, InterruptedException {<a name="line.202"></a>
+<span class="sourceLineNo">203</span> Path currentPath = entryStream.getCurrentPath();<a name="line.203"></a>
+<span class="sourceLineNo">204</span> for (;;) {<a name="line.204"></a>
+<span class="sourceLineNo">205</span> Entry entry = entryStream.next();<a name="line.205"></a>
+<span class="sourceLineNo">206</span> batch.setLastWalPosition(entryStream.getPosition());<a name="line.206"></a>
+<span class="sourceLineNo">207</span> entry = filterEntry(entry);<a name="line.207"></a>
+<span class="sourceLineNo">208</span> if (entry != null) {<a name="line.208"></a>
+<span class="sourceLineNo">209</span> if (addEntryToBatch(batch, entry)) {<a name="line.209"></a>
+<span class="sourceLineNo">210</span> break;<a name="line.210"></a>
+<span class="sourceLineNo">211</span> }<a name="line.211"></a>
+<span class="sourceLineNo">212</span> }<a name="line.212"></a>
+<span class="sourceLineNo">213</span> boolean hasNext = entryStream.hasNext();<a name="line.213"></a>
+<span class="sourceLineNo">214</span> // always return if we have switched to a new file<a name="line.214"></a>
+<span class="sourceLineNo">215</span> if (switched(entryStream, currentPath)) {<a name="line.215"></a>
+<span class="sourceLineNo">216</span> batch.setEndOfFile(true);<a name="line.216"></a>
+<span class="sourceLineNo">217</span> break;<a name="line.217"></a>
+<span class="sourceLineNo">218</span> }<a name="line.218"></a>
+<span class="sourceLineNo">219</span> if (!hasNext) {<a name="line.219"></a>
+<span class="sourceLineNo">220</span> break;<a name="line.220"></a>
+<span class="sourceLineNo">221</span> }<a name="line.221"></a>
+<span class="sourceLineNo">222</span> }<a name="line.222"></a>
+<span class="sourceLineNo">223</span> }<a name="line.223"></a>
+<span class="sourceLineNo">224</span><a name="line.224"></a>
+<span class="sourceLineNo">225</span> private void handleEmptyWALEntryBatch() throws InterruptedException {<a name="line.225"></a>
+<span class="sourceLineNo">226</span> LOG.trace("Didn't read any new entries from WAL");<a name="line.226"></a>
+<span class="sourceLineNo">227</span> if (logQueue.getQueue(walGroupId).isEmpty()) {<a name="line.227"></a>
+<span class="sourceLineNo">228</span> // we're done with current queue, either this is a recovered queue, or it is the special group<a name="line.228"></a>
+<span class="sourceLineNo">229</span> // for a sync replication peer and the peer has been transited to DA or S state.<a name="line.229"></a>
+<span class="sourceLineNo">230</span> LOG.debug("Stopping the replication source wal reader");<a name="line.230"></a>
+<span class="sourceLineNo">231</span> setReaderRunning(false);<a name="line.231"></a>
+<span class="sourceLineNo">232</span> // shuts down shipper thread immediately<a name="line.232"></a>
+<span class="sourceLineNo">233</span> entryBatchQueue.put(WALEntryBatch.NO_MORE_DATA);<a name="line.233"></a>
+<span class="sourceLineNo">234</span> } else {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> Thread.sleep(sleepForRetries);<a name="line.235"></a>
+<span class="sourceLineNo">236</span> }<a name="line.236"></a>
+<span class="sourceLineNo">237</span> }<a name="line.237"></a>
+<span class="sourceLineNo">238</span><a name="line.238"></a>
+<span class="sourceLineNo">239</span> private WALEntryBatch tryAdvanceStreamAndCreateWALBatch(WALEntryStream entryStream)<a name="line.239"></a>
+<span class="sourceLineNo">240</span> throws IOException {<a name="line.240"></a>
+<span class="sourceLineNo">241</span> Path currentPath = entryStream.getCurrentPath();<a name="line.241"></a>
+<span class="sourceLineNo">242</span> if (!entryStream.hasNext()) {<a name="line.242"></a>
+<span class="sourceLineNo">243</span> // check whether we have switched a file<a name="line.243"></a>
+<span class="sourceLineNo">244</span> if (currentPath != null && switched(entryStream, currentPath)) {<a name="line.244"></a>
+<span class="sourceLineNo">245</span> return WALEntryBatch.endOfFile(currentPath);<a name="line.245"></a>
+<span class="sourceLineNo">246</span> } else {<a name="line.246"></a>
+<span class="sourceLineNo">247</span> return null;<a name="line.247"></a>
+<span class="sourceLineNo">248</span> }<a name="line.248"></a>
+<span class="sourceLineNo">249</span> }<a name="line.249"></a>
+<span class="sourceLineNo">250</span> if (currentPath != null) {<a name="line.250"></a>
+<span class="sourceLineNo">251</span> if (switched(entryStream, currentPath)) {<a name="line.251"></a>
+<span class="sourceLineNo">252</span> return WALEntryBatch.endOfFile(currentPath);<a name="line.252"></a>
+<span class="sourceLineNo">253</span> }<a name="line.253"></a>
+<span class="sourceLineNo">254</span> }<a name="line.254"></a>
+<span class="sourceLineNo">255</span> return createBatch(entryStream);<a name="line.255"></a>
+<span class="sourceLineNo">256</span> }<a name="line.256"></a>
+<span class="sourceLineNo">257</span><a name="line.257"></a>
+<span class="sourceLineNo">258</span> /**<a name="line.258"></a>
+<span class="sourceLineNo">259</span> * This is to handle the EOFException from the WAL entry stream. EOFException should<a name="line.259"></a>
+<span class="sourceLineNo">260</span> * be handled carefully because there are chances of data loss because of never replicating<a name="line.260"></a>
+<span class="sourceLineNo">261</span> * the data. Thus we should always try to ship existing batch of entries here.<a name="line.261"></a>
+<span class="sourceLineNo">262</span> * If there was only one log in the queue before EOF, we ship the empty batch here<a name="line.262"></a>
+<span class="sourceLineNo">263</span> * and since reader is still active, in the next iteration of reader we will<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * stop the reader.<a name="line.264"></a>
+<span class="sourceLineNo">265</span> * <p/><a name="line.265"></a>
+<span class="sourceLineNo">266</span> * If there was more than one log in the queue before EOF, we ship the existing batch<a name="line.266"></a>
+<span class="sourceLineNo">267</span> * and reset the wal patch and position to the log with EOF, so shipper can remove<a name="line.267"></a>
+<span class="sourceLineNo">268</span> * logs from replication queue<a name="line.268"></a>
+<span class="sourceLineNo">269</span> * @return true only the IOE can be handled<a name="line.269"></a>
+<span class="sourceLineNo">270</span> */<a name="line.270"></a>
+<span class="sourceLineNo">271</span> private boolean handleEofException(Exception e, WALEntryBatch batch) {<a name="line.271"></a>
+<span class="sourceLineNo">272</span> PriorityBlockingQueue<Path> queue = logQueue.getQueue(walGroupId);<a name="line.272"></a>
+<span class="sourceLineNo">273</span> // Dump the log even if logQueue size is 1 if the source is from recovered Source<a name="line.273"></a>
+<span class="sourceLineNo">274</span> // since we don't add current log to recovered source queue so it is safe to remove.<a name="line.274"></a>
+<span class="sourceLineNo">275</span> if ((e instanceof EOFException || e.getCause() instanceof EOFException) &&<a name="line.275"></a>
+<span class="sourceLineNo">276</span> (source.isRecovered() || queue.size() > 1) && this.eofAutoRecovery) {<a name="line.276"></a>
+<span class="sourceLineNo">277</span> Path head = queue.peek();<a name="line.277"></a>
+<span class="sourceLineNo">278</span> try {<a name="line.278"></a>
+<span class="sourceLineNo">279</span> if (fs.getFileStatus(head).getLen() == 0) {<a name="line.279"></a>
+<span class="sourceLineNo">280</span> // head of the queue is an empty log file<a name="line.280"></a>
+<span class="sourceLineNo">281</span> LOG.warn("Forcing removal of 0 length log in queue: {}", head);<a name="line.281"></a>
+<span class="sourceLineNo">282</span> logQueue.remove(walGroupId);<a name="line.282"></a>
+<span class="sourceLineNo">283</span> currentPosition = 0;<a name="line.283"></a>
+<span class="sourceLineNo">284</span> if (batch != null) {<a name="line.284"></a>
+<span class="sourceLineNo">285</span> // After we removed the WAL from the queue, we should try shipping the existing batch of<a name="line.285"></a>
+<span class="sourceLineNo">286</span> // entries<a name="line.286"></a>
+<span class="sourceLineNo">287</span> addBatchToShippingQueue(batch);<a name="line.287"></a>
+<span class="sourceLineNo">288</span> }<a name="line.288"></a>
+<span class="sourceLineNo">289</span> return true;<a name="line.289"></a>
+<span class="sourceLineNo">290</span> }<a name="line.290"></a>
+<span class="sourceLineNo">291</span> } catch (IOException ioe) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span> LOG.warn("Couldn't get file length information about log " + queue.peek(), ioe);<a name="line.292"></a>
+<span class="sourceLineNo">293</span> } catch (InterruptedException ie) {<a name="line.293"></a>
+<span class="sourceLineNo">294</span> LOG.trace("Interrupted while adding WAL batch to ship queue");<a name="line.294"></a>
+<span class="sourceLineNo">295</span> Thread.currentThread().interrupt();<a name="line.295"></a>
+<span class="sourceLineNo">296</span> }<a name="line.296"></a>
+<span class="sourceLineNo">297</span> }<a name="line.297"></a>
+<span class="sourceLineNo">298</span> return false;<a name="line.298"></a>
+<span class="sourceLineNo">299</span> }<a name="line.299"></a>
+<span class="sourceLineNo">300</span><a name="line.300"></a>
+<span class="sourceLineNo">301</span> /**<a name="line.301"></a>
+<span class="sourceLineNo">302</span> * Update the batch try to ship and return true if shipped<a name="line.302"></a>
+<span class="sourceLineNo">303</span> * @param batch Batch of entries to ship<a name="line.303"></a>
+<span class="sourceLineNo">304</span> * @throws InterruptedException throws interrupted exception<a name="line.304"></a>
+<span class="sourceLineNo">305</span> */<a name="line.305"></a>
+<span class="sourceLineNo">306</span> private void addBatchToShippingQueue(WALEntryBatch batch) throws InterruptedException {<a name="line.306"></a>
+<span class="sourceLineNo">307</span> // need to propagate the batch even it has no entries since it may carry the last<a name="line.307"></a>
+<span class="sourceLineNo">308</span> // sequence id information for serial replication.<a name="line.308"></a>
+<span class="sourceLineNo">309</span> LOG.debug("Read {} WAL entries eligible for replication", batch.getNbEntries());<a name="line.309"></a>
+<span class="sourceLineNo">310</span> entryBatchQueue.put(batch);<a name="line.310"></a>
+<span class="sourceLineNo">311</span> }<a name="line.311"></a>
+<span class="sourceLineNo">312</span><a name="line.312"></a>
+<span class="sourceLineNo">313</span> public Path getCurrentPath() {<a name="line.313"></a>
+<span class="sourceLineNo">314</span> // if we've read some WAL entries, get the Path we read from<a name="line.314"></a>
+<span class="sourceLineNo">315</span> WALEntryBatch batchQueueHead = entryBatchQueue.peek();<a name="line.315"></a>
+<span class="sourceLineNo">316</span> if (batchQueueHead != null) {<a name="line.316"></a>
+<span class="sourceLineNo">317</span> return batchQueueHead.getLastWalPath();<a name="line.317"></a>
+<span class="sourceLineNo">318</span> }<a name="line.318"></a>
+<span class="sourceLineNo">319</span> // otherwise, we must be currently reading from the head of the log queue<a name="line.319"></a>
+<span class="sourceLineNo">320</span> return logQueue.getQueue(walGroupId).peek();<a name="line.320"></a>
+<span class="sourceLineNo">321</span> }<a name="line.321"></a>
+<span class="sourceLineNo">322</span><a name="line.322"></a>
+<span class="sourceLineNo">323</span> //returns false if we've already exceeded the global quota<a name="line.323"></a>
+<span class="sourceLineNo">324</span> private boolean checkQuota() {<a name="line.324"></a>
+<span class="sourceLineNo">325</span> // try not to go over total quota<a name="line.325"></a>
+<span class="sourceLineNo">326</span> if (totalBufferUsed.get() > totalBufferQuota) {<a name="line.326"></a>
+<span class="sourceLineNo">327</span> LOG.warn("peer={}, can't read more edits from WAL as buffer usage {}B exceeds limit {}B",<a name="line.327"></a>
+<span class="sourceLineNo">328</span> this.source.getPeerId(), totalBufferUsed.get(), totalBufferQuota);<a name="line.328"></a>
+<span class="sourceLineNo">329</span> Threads.sleep(sleepForRetries);<a name="line.329"></a>
+<span class="sourceLineNo">330</span> return false;<a name="line.330"></a>
+<span class="sourceLineNo">331</span> }<a name="line.331"></a>
+<span class="sourceLineNo">332</span> return true;<a name="line.332"></a>
+<span class="sourceLineNo">333</span> }<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span> private WALEntryBatch createBatch(WALEntryStream entryStream) {<a name="line.335"></a>
+<span class="sourceLineNo">336</span> return new WALEntryBatch(replicationBatchCountCapacity, entryStream.getCurrentPath());<a name="line.336"></a>
<span class="sourceLineNo">337</span> }<a name="line.337"></a>
<span class="sourceLineNo">338</span><a name="line.338"></a>
-<span class="sourceLineNo">339</span> //returns false if we've already exceeded the global quota<a name="line.339"></a>
-<span class="sourceLineNo">340</span> private boolean checkQuota() {<a name="line.340"></a>
-<span class="sourceLineNo">341</span> // try not to go over total quota<a name="line.341"></a>
-<span class="sourceLineNo">342</span> if (totalBufferUsed.get() > totalBufferQuota) {<a name="line.342"></a>
-<span class="sourceLineNo">343</span> LOG.warn("peer={}, can't read more edits from WAL as buffer usage {}B exceeds limit {}B",<a name="line.343"></a>
-<span class="sourceLineNo">344</span> this.source.getPeerId(), totalBufferUsed.get(), totalBufferQuota);<a name="line.344"></a>
-<span class="sourceLineNo">345</span> Threads.sleep(sleepForRetries);<a name="line.345"></a>
-<span class="sourceLineNo">346</span> return false;<a name="line.346"></a>
-<span class="sourceLineNo">347</span> }<a name="line.347"></a>
-<span class="sourceLineNo">348</span> return true;<a name="line.348"></a>
-<span class="sourceLineNo">349</span> }<a name="line.349"></a>
-<span class="sourceLineNo">350</span><a name="line.350"></a>
-<span class="sourceLineNo">351</span> protected final WALEntryBatch createBatch(WALEntryStream entryStream) {<a name="line.351"></a>
-<span class="sourceLineNo">352</span> return new WALEntryBatch(replicationBatchCountCapacity, entryStream.getCurrentPath());<a name="line.352"></a>
-<span class="sourceLineNo">353</span> }<a name="line.353"></a>
-<span class="sourceLineNo">354</span><a name="line.354"></a>
-<span class="sourceLineNo">355</span> protected final Entry filterEntry(Entry entry) {<a name="line.355"></a>
-<span class="sourceLineNo">356</span> Entry filtered = filter.filter(entry);<a name="line.356"></a>
-<span class="sourceLineNo">357</span> if (entry != null && (filtered == null || filtered.getEdit().size() == 0)) {<a name="line.357"></a>
-<span class="sourceLineNo">358</span> LOG.debug("Filtered entry for replication: {}", entry);<a name="line.358"></a>
-<span class="sourceLineNo">359</span> source.getSourceMetrics().incrLogEditsFiltered();<a name="line.359"></a>
-<span class="sourceLineNo">360</span> }<a name="line.360"></a>
-<span class="sourceLineNo">361</span> return filtered;<a name="line.361"></a>
-<span class="sourceLineNo">362</span> }<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span> /**<a name="line.364"></a>
-<span class="sourceLineNo">365</span> * Retrieves the next batch of WAL entries from the queue, waiting up to the specified time for a<a name="line.365"></a>
-<span class="sourceLineNo">366</span> * batch to become available<a name="line.366"></a>
-<span class="sourceLineNo">367</span> * @return A batch of entries, along with the position in the log after reading the batch<a name="line.367"></a>
-<span class="sourceLineNo">368</span> * @throws InterruptedException if interrupted while waiting<a name="line.368"></a>
-<span class="sourceLineNo">369</span> */<a name="line.369"></a>
-<span class="sourceLineNo">370</span> public WALEntryBatch take() throws InterruptedException {<a name="line.370"></a>
-<span class="sourceLineNo">371</span> return entryBatchQueue.take();<a name="line.371"></a>
-<span class="sourceLineNo">372</span> }<a name="line.372"></a>
+<span class="sourceLineNo">339</span> protected final Entry filterEntry(Entry entry) {<a name="line.339"></a>
+<span class="sourceLineNo">340</span> Entry filtered = filter.filter(entry);<a name="line.340"></a>
+<span class="sourceLineNo">341</span> if (entry != null && (filtered == null || filtered.getEdit().size() == 0)) {<a name="line.341"></a>
+<span class="sourceLineNo">342</span> LOG.debug("Filtered entry for replication: {}", entry);<a name="line.342"></a>
+<span class="sourceLineNo">343</span> source.getSourceMetrics().incrLogEditsFiltered();<a name="line.343"></a>
+<span class="sourceLineNo">344</span> }<a name="line.344"></a>
+<span class="sourceLineNo">345</span> return filtered;<a name="line.345"></a>
+<span class="sourceLineNo">346</span> }<a name="line.346"></a>
+<span class="sourceLineNo">347</span><a name="line.347"></a>
+<span class="sourceLineNo">348</span> /**<a name="line.348"></a>
+<span class="sourceLineNo">349</span> * Retrieves the next batch of WAL entries from the queue, waiting up to the specified time for a<a name="line.349"></a>
+<span class="sourceLineNo">350</span> * batch to become available<a name="line.350"></a>
+<span class="sourceLineNo">351</span> * @return A batch of entries, along with the position in the log after reading the batch<a name="line.351"></a>
+<span class="sourceLineNo">352</span> * @throws InterruptedException if interrupted while waiting<a name="line.352"></a>
+<span class="sourceLineNo">353</span> */<a name="line.353"></a>
+<span class="sourceLineNo">354</span> public WALEntryBatch take() throws InterruptedException {<a name="line.354"></a>
+<span class="sourceLineNo">355</span> return entryBatchQueue.take();<a name="line.355"></a>
+<span class="sourceLineNo">356</span> }<a name="line.356"></a>
+<span class="sourceLineNo">357</span><a name="line.357"></a>
+<span class="sourceLineNo">358</span> public WALEntryBatch poll(long timeout) throws InterruptedException {<a name="line.358"></a>
+<span class="sourceLineNo">359</span> return entryBatchQueue.poll(timeout, TimeUnit.MILLISECONDS);<a name="line.359"></a>
+<span class="sourceLineNo">360</span> }<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span> private long getEntrySizeIncludeBulkLoad(Entry entry) {<a name="line.362"></a>
+<span class="sourceLineNo">363</span> WALEdit edit = entry.getEdit();<a name="line.363"></a>
+<span class="sourceLineNo">364</span> return getEntrySizeExcludeBulkLoad(entry) + sizeOfStoreFilesIncludeBulkLoad(edit);<a name="line.364"></a>
+<span class="sourceLineNo">365</span> }<a name="line.365"></a>
+<span class="sourceLineNo">366</span><a name="line.366"></a>
+<span class="sourceLineNo">367</span> public static long getEntrySizeExcludeBulkLoad(Entry entry) {<a name="line.367"></a>
+<span class="sourceLineNo">368</span> WALEdit edit = entry.getEdit();<a name="line.368"></a>
+<span class="sourceLineNo">369</span> WALKey key = entry.getKey();<a name="line.369"></a>
+<span class="sourceLineNo">370</span> return edit.heapSize() + key.estimatedSerializedSizeOf();<a name="line.370"></a>
+<span class="sourceLineNo">371</span> }<a name="line.371"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
<span class="sourceLineNo">373</span><a name="line.373"></a>
-<span class="sourceLineNo">374</span> public WALEntryBatch poll(long timeout) throws InterruptedException {<a name="line.374"></a>
-<span class="sourceLineNo">375</span> return entryBatchQueue.poll(timeout, TimeUnit.MILLISECONDS);<a name="line.375"></a>
-<span class="sourceLineNo">376</span> }<a name="line.376"></a>
-<span class="sourceLineNo">377</span><a name="line.377"></a>
-<span class="sourceLineNo">378</span> private long getEntrySizeIncludeBulkLoad(Entry entry) {<a name="line.378"></a>
-<span class="sourceLineNo">379</span> WALEdit edit = entry.getEdit();<a name="line.379"></a>
-<span class="sourceLineNo">380</span> return getEntrySizeExcludeBulkLoad(entry) + sizeOfStoreFilesIncludeBulkLoad(edit);<a name="line.380"></a>
-<span class="sourceLineNo">381</span> }<a name="line.381"></a>
-<span class="sourceLineNo">382</span><a name="line.382"></a>
-<span class="sourceLineNo">383</span> public static long getEntrySizeExcludeBulkLoad(Entry entry) {<a name="line.383"></a>
-<span class="sourceLineNo">384</span> WALEdit edit = entry.getEdit();<a name="line.384"></a>
-<span class="sourceLineNo">385</span> WALKey key = entry.getKey();<a name="line.385"></a>
-<span class="sourceLineNo">386</span> return edit.heapSize() + key.estimatedSerializedSizeOf();<a name="line.386"></a>
-<span class="sourceLineNo">387</span> }<a name="line.387"></a>
-<span class="sourceLineNo">388</span><a name="line.388"></a>
-<span class="sourceLineNo">389</span><a name="line.389"></a>
-<span class="sourceLineNo">390</span> private void updateBatchStats(WALEntryBatch batch, Entry entry, long entrySize) {<a name="line.390"></a>
-<span class="sourceLineNo">391</span> WALEdit edit = entry.getEdit();<a name="line.391"></a>
-<span class="sourceLineNo">392</span> batch.incrementHeapSize(entrySize);<a name="line.392"></a>
-<span class="sourceLineNo">393</span> Pair<Integer, Integer> nbRowsAndHFiles = countDistinctRowKeysAndHFiles(edit);<a name="line.393"></a>
-<span class="sourceLineNo">394</span> batch.incrementNbRowKeys(nbRowsAndHFiles.getFirst());<a name="line.394"></a>
-<span class="sourceLineNo">395</span> batch.incrementNbHFiles(nbRowsAndHFiles.getSecond());<a name="line.395"></a>
-<span class="sourceLineNo">396</span> }<a name="line.396"></a>
-<span class="sourceLineNo">397</span><a name="line.397"></a>
-<span class="sourceLineNo">398</span> /**<a name="line.398"></a>
-<span class="sourceLineNo">399</span> * Count the number of different row keys in the given edit because of mini-batching. We assume<a name="line.399"></a>
-<span class="sourceLineNo">400</span> * that there's at least one Cell in the WALEdit.<a name="line.400"></a>
-<span class="sourceLineNo">401</span> * @param edit edit to count row keys from<a name="line.401"></a>
-<span class="sourceLineNo">402</span> * @return number of different row keys and HFiles<a name="line.402"></a>
-<span class="sourceLineNo">403</span> */<a name="line.403"></a>
-<span class="sourceLineNo">404</span> private Pair<Integer, Integer> countDistinctRowKeysAndHFiles(WALEdit edit) {<a name="line.404"></a>
-<span class="sourceLineNo">405</span> List<Cell> cells = edit.getCells();<a name="line.405"></a>
-<span class="sourceLineNo">406</span> int distinctRowKeys = 1;<a name="line.406"></a>
-<span class="sourceLineNo">407</span> int totalHFileEntries = 0;<a name="line.407"></a>
-<span class="sourceLineNo">408</span> Cell lastCell = cells.get(0);<a name="line.408"></a>
-<span class="sourceLineNo">409</span><a name="line.409"></a>
-<span class="sourceLineNo">410</span> int totalCells = edit.size();<a name="line.410"></a>
-<span class="sourceLineNo">411</span> for (int i = 0; i < totalCells; i++) {<a name="line.411"></a>
-<span class="sourceLineNo">412</span> // Count HFiles to be replicated<a name="line.412"></a>
-<span class="sourceLineNo">413</span> if (CellUtil.matchingQualifier(cells.get(i), WALEdit.BULK_LOAD)) {<a name="line.413"></a>
-<span class="sourceLineNo">414</span> try {<a name="line.414"></a>
-<span class="sourceLineNo">415</span> BulkLoadDescriptor bld = WALEdit.getBulkLoadDescriptor(cells.get(i));<a name="line.415"></a>
-<span class="sourceLineNo">416</span> List<StoreDescriptor> stores = bld.getStoresList();<a name="line.416"></a>
-<span class="sourceLineNo">417</span> int totalStores = stores.size();<a name="line.417"></a>
-<span class="sourceLineNo">418</span> for (int j = 0; j < totalStores; j++) {<a name="line.418"></a>
-<span class="sourceLineNo">419</span> totalHFileEntries += stores.get(j).getStoreFileList().size();<a name="line.419"></a>
-<span class="sourceLineNo">420</span> }<a name="line.420"></a>
-<span class="sourceLineNo">421</span> } catch (IOException e) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span> LOG.error("Failed to deserialize bulk load entry from wal edit. "<a name="line.422"></a>
-<span class="sourceLineNo">423</span> + "Then its hfiles count will not be added into metric.", e);<a name="line.423"></a>
-<span class="sourceLineNo">424</span> }<a name="line.424"></a>
-<span class="sourceLineNo">425</span> }<a name="line.425"></a>
-<span class="sourceLineNo">426</span><a name="line.426"></a>
-<span class="sourceLineNo">427</span> if (!CellUtil.matchingRows(cells.get(i), lastCell)) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span> distinctRowKeys++;<a name="line.428"></a>
-<span class="sourceLineNo">429</span> }<a name="line.429"></a>
-<span class="sourceLineNo">430</span> lastCell = cells.get(i);<a name="line.430"></a>
-<span class="sourceLineNo">431</span> }<a name="line.431"></a>
-<span class="sourceLineNo">432</span><a name="line.432"></a>
-<span class="sourceLineNo">433</span> Pair<Integer, Integer> result = new Pair<>(distinctRowKeys, totalHFileEntries);<a name="line.433"></a>
-<span class="sourceLineNo">434</span> return result;<a name="line.434"></a>
-<span class="sourceLineNo">435</span> }<a name="line.435"></a>
-<span class="sourceLineNo">436</span><a name="line.436"></a>
-<span class="sourceLineNo">437</span> /**<a name="line.437"></a>
-<span class="sourceLineNo">438</span> * Calculate the total size of all the store files<a name="line.438"></a>
-<span class="sourceLineNo">439</span> * @param edit edit to count row keys from<a name="line.439"></a>
-<span class="sourceLineNo">440</span> * @return the total size of the store files<a name="line.440"></a>
-<span class="sourceLineNo">441</span> */<a name="line.441"></a>
-<span class="sourceLineNo">442</span> private int sizeOfStoreFilesIncludeBulkLoad(WALEdit edit) {<a name="line.442"></a>
-<span class="sourceLineNo">443</span> List<Cell> cells = edit.getCells();<a name="line.443"></a>
-<span class="sourceLineNo">444</span> int totalStoreFilesSize = 0;<a name="line.444"></a>
-<span class="sourceLineNo">445</span><a name="line.445"></a>
-<span class="sourceLineNo">446</span> int totalCells = edit.size();<a name="line.446"></a>
-<span class="sourceLineNo">447</span> for (int i = 0; i < totalCells; i++) {<a name="line.447"></a>
-<span class="sourceLineNo">448</span> if (CellUtil.matchingQualifier(cells.get(i), WALEdit.BULK_LOAD)) {<a name="line.448"></a>
-<span class="sourceLineNo">449</span> try {<a name="line.449"></a>
-<span class="sourceLineNo">450</span> BulkLoadDescriptor bld = WALEdit.getBulkLoadDescriptor(cells.get(i));<a name="line.450"></a>
-<span class="sourceLineNo">451</span> List<StoreDescriptor> stores = bld.getStoresList();<a name="line.451"></a>
-<span class="sourceLineNo">452</span> int totalStores = stores.size();<a name="line.452"></a>
-<span class="sourceLineNo">453</span> for (int j = 0; j < totalStores; j++) {<a name="line.453"></a>
-<span class="sourceLineNo">454</span> totalStoreFilesSize =<a name="line.454"></a>
-<span class="sourceLineNo">455</span> (int) (totalStoreFilesSize + stores.get(j).getStoreFileSizeBytes());<a name="line.455"></a>
-<span class="sourceLineNo">456</span> }<a name="line.456"></a>
-<span class="sourceLineNo">457</span> } catch (IOException e) {<a name="line.457"></a>
-<span class="sourceLineNo">458</span> LOG.error("Failed to deserialize bulk load entry from wal edit. "<a name="line.458"></a>
-<span class="sourceLineNo">459</span> + "Size of HFiles part of cell will not be considered in replication "<a name="line.459"></a>
-<span class="sourceLineNo">460</span> + "request size calculation.", e);<a name="line.460"></a>
-<span class="sourceLineNo">461</span> }<a name="line.461"></a>
-<span class="sourceLineNo">462</span> }<a name="line.462"></a>
-<span class="sourceLineNo">463</span> }<a name="line.463"></a>
-<span class="sourceLineNo">464</span> return totalStoreFilesSize;<a name="line.464"></a>
-<span class="sourceLineNo">465</span> }<a name="line.465"></a>
-<span class="sourceLineNo">466</span><a name="line.466"></a>
-<span class="sourceLineNo">467</span> /**<a name="line.467"></a>
-<span class="sourceLineNo">468</span> * @param size delta size for grown buffer<a name="line.468"></a>
-<span class="sourceLineNo">469</span> * @return true if we should clear buffer and push all<a name="line.469"></a>
-<span class="sourceLineNo">470</span> */<a name="line.470"></a>
-<span class="sourceLineNo">471</span> private boolean acquireBufferQuota(long size) {<a name="line.471"></a>
-<span class="sourceLineNo">472</span> long newBufferUsed = totalBufferUsed.addAndGet(size);<a name="line.472"></a>
-<span class="sourceLineNo">473</span> // Record the new buffer usage<a name="line.473"></a>
-<span class="sourceLineNo">474</span> this.source.getSourceManager().getGlobalMetrics().setWALReaderEditsBufferBytes(newBufferUsed);<a name="line.474"></a>
-<span class="sourceLineNo">475</span> return newBufferUsed >= totalBufferQuota;<a name="line.475"></a>
-<span class="sourceLineNo">476</span> }<a name="line.476"></a>
-<span class="sourceLineNo">477</span><a name="line.477"></a>
-<span class="sourceLineNo">478</span> /**<a name="line.478"></a>
-<span class="sourceLineNo">479</span> * @return whether the reader thread is running<a name="line.479"></a>
-<span class="sourceLineNo">480</span> */<a name="line.480"></a>
-<span class="sourceLineNo">481</span> public boolean isReaderRunning() {<a name="line.481"></a>
-<span class="sourceLineNo">482</span> return isReaderRunning && !isInterrupted();<a name="line.482"></a>
-<span class="sourceLineNo">483</span> }<a name="line.483"></a>
-<span class="sourceLineNo">484</span><a name="line.484"></a>
-<span class="sourceLineNo">485</span> /**<a name="line.485"></a>
-<span class="sourceLineNo">486</span> * @param readerRunning the readerRunning to set<a name="line.486"></a>
-<span class="sourceLineNo">487</span> */<a name="line.487"></a>
-<span class="sourceLineNo">488</span> public void setReaderRunning(boolean readerRunning) {<a name="line.488"></a>
-<span class="sourceLineNo">489</span> this.isReaderRunning = readerRunning;<a name="line.489"></a>
-<span class="sourceLineNo">490</span> }<a name="line.490"></a>
-<span class="sourceLineNo">491</span>}<a name="line.491"></a>
+<span class="sourceLineNo">374</span> private void updateBatchStats(WALEntryBatch batch, Entry entry, long entrySize) {<a name="line.374"></a>
+<span class="sourceLineNo">375</span> WALEdit edit = entry.getEdit();<a name="line.375"></a>
+<span class="sourceLineNo">376</span> batch.incrementHeapSize(entrySize);<a name="line.376"></a>
+<span class="sourceLineNo">377</span> Pair<Integer, Integer> nbRowsAndHFiles = countDistinctRowKeysAndHFiles(edit);<a name="line.377"></a>
+<span class="sourceLineNo">378</span> batch.incrementNbRowKeys(nbRowsAndHFiles.getFirst());<a name="line.378"></a>
+<span class="sourceLineNo">379</span> batch.incrementNbHFiles(nbRowsAndHFiles.getSecond());<a name="line.379"></a>
+<span class="sourceLineNo">380</span> }<a name="line.380"></a>
+<span class="sourceLineNo">381</span><a name="line.381"></a>
+<span class="sourceLineNo">382</span> /**<a name="line.382"></a>
+<span class="sourceLineNo">383</span> * Count the number of different row keys in the given edit because of mini-batching. We assume<a name="line.383"></a>
+<span class="sourceLineNo">384</span> * that there's at least one Cell in the WALEdit.<a name="line.384"></a>
+<span class="sourceLineNo">385</span> * @param edit edit to count row keys from<a name="line.385"></a>
+<span class="sourceLineNo">386</span> * @return number of different row keys and HFiles<a name="line.386"></a>
+<span class="sourceLineNo">387</span> */<a name="line.387"></a>
+<span class="sourceLineNo">388</span> private Pair<Integer, Integer> countDistinctRowKeysAndHFiles(WALEdit edit) {<a name="line.388"></a>
+<span class="sourceLineNo">389</span> List<Cell> cells = edit.getCells();<a name="line.389"></a>
+<span class="sourceLineNo">390</span> int distinctRowKeys = 1;<a name="line.390"></a>
+<span class="sourceLineNo">391</span> int totalHFileEntries = 0;<a name="line.391"></a>
+<span class="sourceLineNo">392</span> Cell lastCell = cells.get(0);<a name="line.392"></a>
+<span class="sourceLineNo">393</span><a name="line.393"></a>
+<span class="sourceLineNo">394</span> int totalCells = edit.size();<a name="line.394"></a>
+<span class="sourceLineNo">395</span> for (int i = 0; i < totalCells; i++) {<a name="line.395"></a>
+<span class="sourceLineNo">396</span> // Count HFiles to be replicated<a name="line.396"></a>
+<span class="sourceLineNo">397</span> if (CellUtil.matchingQualifier(cells.get(i), WALEdit.BULK_LOAD)) {<a name="line.397"></a>
+<span class="sourceLineNo">398</span> try {<a name="line.398"></a>
+<span class="sourceLineNo">399</span> BulkLoadDescriptor bld = WALEdit.getBulkLoadDescriptor(cells.get(i));<a name="line.399"></a>
+<span class="sourceLineNo">400</span> List<StoreDescriptor> stores = bld.getStoresList();<a name="line.400"></a>
+<span class="sourceLineNo">401</span> int totalStores = stores.size();<a name="line.401"></a>
+<span class="sourceLineNo">402</span> for (int j = 0; j < totalStores; j++) {<a name="line.402"></a>
+<span class="sourceLineNo">403</span> totalHFileEntries += stores.get(j).getStoreFileList().size();<a name="line.403"></a>
+<span class="sourceLineNo">404</span> }<a name="line.404"></a>
+<span class="sourceLineNo">405</span> } catch (IOException e) {<a name="line.405"></a>
+<span class="sourceLineNo">406</span> LOG.error("Failed to deserialize bulk load entry from wal edit. "<a name="line.406"></a>
+<span class="sourceLineNo">407</span> + "Then its hfiles count will not be added into metric.", e);<a name="line.407"></a>
+<span class="sourceLineNo">408</span> }<a name="line.408"></a>
+<span class="sourceLineNo">409</span> }<a name="line.409"></a>
+<span class="sourceLineNo">410</span><a name="line.410"></a>
+<span class="sourceLineNo">411</span> if (!CellUtil.matchingRows(cells.get(i), lastCell)) {<a name="line.411"></a>
+<span class="sourceLineNo">412</span> distinctRowKeys++;<a name="line.412"></a>
+<span class="sourceLineNo">413</span> }<a name="line.413"></a>
+<span class="sourceLineNo">414</span> lastCell = cells.get(i);<a name="line.414"></a>
+<span class="sourceLineNo">415</span> }<a name="line.415"></a>
+<span class="sourceLineNo">416</span><a name="line.416"></a>
+<span class="sourceLineNo">417</span> Pair<Integer, Integer> result = new Pair<>(distinctRowKeys, totalHFileEntries);<a name="line.417"></a>
+<span class="sourceLineNo">418</span> return result;<a name="line.418"></a>
+<span class="sourceLineNo">419</span> }<a name="line.419"></a>
+<span class="sourceLineNo">420</span><a name="line.420"></a>
+<span class="sourceLineNo">421</span> /**<a name="line.421"></a>
+<span class="sourceLineNo">422</span> * Calculate the total size of all the store files<a name="line.422"></a>
+<span class="sourceLineNo">423</span> * @param edit edit to count row keys from<a name="line.423"></a>
+<span class="sourceLineNo">424</span> * @return the total size of the store files<a name="line.424"></a>
+<span class="sourceLineNo">425</span> */<a name="line.425"></a>
+<span class="sourceLineNo">426</span> private int sizeOfStoreFilesIncludeBulkLoad(WALEdit edit) {<a name="line.426"></a>
+<span class="sourceLineNo">427</span> List<Cell> cells = edit.getCells();<a name="line.427"></a>
+<span class="sourceLineNo">428</span> int totalStoreFilesSize = 0;<a name="line.428"></a>
+<span class="sourceLineNo">429</span><a name="line.429"></a>
+<span class="sourceLineNo">430</span> int totalCells = edit.size();<a name="line.430"></a>
+<span class="sourceLineNo">431</span> for (int i = 0; i < totalCells; i++) {<a name="line.431"></a>
+<span class="sourceLineNo">432</span> if (CellUtil.matchingQualifier(cells.get(i), WALEdit.BULK_LOAD)) {<a name="line.432"></a>
+<span class="sourceLineNo">433</span> try {<a name="line.433"></a>
+<span class="sourceLineNo">434</span> BulkLoadDescriptor bld = WALEdit.getBulkLoadDescriptor(cells.get(i));<a name="line.434"></a>
+<span class="sourceLineNo">435</span> List<StoreDescriptor> stores = bld.getStoresList();<a name="line.435"></a>
+<span class="sourceLineNo">436</span> int totalStores = stores.size();<a name="line.436"></a>
+<span class="sourceLineNo">437</span> for (int j = 0; j < totalStores; j++) {<a name="line.437"></a>
+<span class="sourceLineNo">438</span> totalStoreFilesSize =<a name="line.438"></a>
+<span class="sourceLineNo">439</span> (int) (totalStoreFilesSize + stores.get(j).getStoreFileSizeBytes());<a name="line.439"></a>
+<span class="sourceLineNo">440</span> }<a name="line.440"></a>
+<span class="sourceLineNo">441</span> } catch (IOException e) {<a name="line.441"></a>
+<span class="sourceLineNo">442</span> LOG.error("Failed to deserialize bulk load entry from wal edit. "<a name="line.442"></a>
+<span class="sourceLineNo">443</span> + "Size of HFiles part of cell will not be considered in replication "<a name="line.443"></a>
+<span class="sourceLineNo">444</span> + "request size calculation.", e);<a name="line.444"></a>
+<span class="sourceLineNo">445</span> }<a name="line.445"></a>
+<span class="sourceLineNo">446</span> }<a name="line.446"></a>
+<span class="sourceLineNo">447</span> }<a name="line.447"></a>
+<span class="sourceLineNo">448</span> return totalStoreFilesSize;<a name="line.448"></a>
+<span class="sourceLineNo">449</span> }<a name="line.449"></a>
+<span class="sourceLineNo">450</span><a name="line.450"></a>
+<span class="sourceLineNo">451</span> /**<a name="line.451"></a>
+<span class="sourceLineNo">452</span> * @param size delta size for grown buffer<a name="line.452"></a>
+<span class="sourceLineNo">453</span> * @return true if we should clear buffer and push all<a name="line.453"></a>
+<span class="sourceLineNo">454</span> */<a name="line.454"></a>
+<span class="sourceLineNo">455</span> private boolean acquireBufferQuota(long size) {<a name="line.455"></a>
+<span class="sourceLineNo">456</span> long newBufferUsed = totalBufferUsed.addAndGet(size);<a name="line.456"></a>
+<span class="sourceLineNo">457</span> // Record the new buffer usage<a name="line.457"></a>
+<span class="sourceLineNo">458</span> this.source.getSourceManager().getGlobalMetrics().setWALReaderEditsBufferBytes(newBufferUsed);<a name="line.458"></a>
+<span class="sourceLineNo">459</span> return newBufferUsed >= totalBufferQuota;<a name="line.459"></a>
+<span class="sourceLineNo">460</span> }<a name="line.460"></a>
+<span class="sourceLineNo">461</span><a name="line.461"></a>
+<span class="sourceLineNo">462</span> /**<a name="line.462"></a>
+<span class="sourceLineNo">463</span> * @return whether the reader thread is running<a name="line.463"></a>
+<span class="sourceLineNo">464</span> */<a name="line.464"></a>
+<span class="sourceLineNo">465</span> public boolean isReaderRunning() {<a name="line.465"></a>
+<span class="sourceLineNo">466</span> return isReaderRunning && !isInterrupted();<a name="line.466"></a>
+<span class="sourceLineNo">467</span> }<a name="line.467"></a>
+<span class="sourceLineNo">468</span><a name="line.468"></a>
+<span class="sourceLineNo">469</span> /**<a name="line.469"></a>
+<span class="sourceLineNo">470</span> * @param readerRunning the readerRunning to set<a name="line.470"></a>
+<span class="sourceLineNo">471</span> */<a name="line.471"></a>
+<span class="sourceLineNo">472</span> public void setReaderRunning(boolean readerRunning) {<a name="line.472"></a>
+<span class="sourceLineNo">473</span> this.isReaderRunning = readerRunning;<a name="line.473"></a>
+<span class="sourceLineNo">474</span> }<a name="line.474"></a>
+<span class="sourceLineNo">475</span>}<a name="line.475"></a>
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html
index 52d2539..e5404b2 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.html
@@ -58,88 +58,70 @@
<span class="sourceLineNo">050</span> }<a name="line.50"></a>
<span class="sourceLineNo">051</span><a name="line.51"></a>
<span class="sourceLineNo">052</span> @Override<a name="line.52"></a>
-<span class="sourceLineNo">053</span> protected WALEntryBatch readWALEntries(WALEntryStream entryStream, WALEntryBatch batch)<a name="line.53"></a>
-<span class="sourceLineNo">054</span> throws IOException, InterruptedException {<a name="line.54"></a>
+<span class="sourceLineNo">053</span> protected void readWALEntries(WALEntryStream entryStream, WALEntryBatch batch)<a name="line.53"></a>
+<span class="sourceLineNo">054</span> throws IOException, InterruptedException {<a name="line.54"></a>
<span class="sourceLineNo">055</span> Path currentPath = entryStream.getCurrentPath();<a name="line.55"></a>
-<span class="sourceLineNo">056</span> if (!entryStream.hasNext()) {<a name="line.56"></a>
-<span class="sourceLineNo">057</span> // check whether we have switched a file<a name="line.57"></a>
-<span class="sourceLineNo">058</span> if (currentPath != null && switched(entryStream, currentPath)) {<a name="line.58"></a>
-<span class="sourceLineNo">059</span> return WALEntryBatch.endOfFile(currentPath);<a name="line.59"></a>
-<span class="sourceLineNo">060</span> } else {<a name="line.60"></a>
-<span class="sourceLineNo">061</span> return null;<a name="line.61"></a>
-<span class="sourceLineNo">062</span> }<a name="line.62"></a>
-<span class="sourceLineNo">063</span> }<a name="line.63"></a>
-<span class="sourceLineNo">064</span> if (currentPath != null) {<a name="line.64"></a>
-<span class="sourceLineNo">065</span> if (switched(entryStream, currentPath)) {<a name="line.65"></a>
-<span class="sourceLineNo">066</span> return WALEntryBatch.endOfFile(currentPath);<a name="line.66"></a>
-<span class="sourceLineNo">067</span> }<a name="line.67"></a>
-<span class="sourceLineNo">068</span> } else {<a name="line.68"></a>
-<span class="sourceLineNo">069</span> // when reading from the entry stream first time we will enter here<a name="line.69"></a>
-<span class="sourceLineNo">070</span> currentPath = entryStream.getCurrentPath();<a name="line.70"></a>
-<span class="sourceLineNo">071</span> }<a name="line.71"></a>
-<span class="sourceLineNo">072</span> long positionBefore = entryStream.getPosition();<a name="line.72"></a>
-<span class="sourceLineNo">073</span> batch = createBatch(entryStream);<a name="line.73"></a>
-<span class="sourceLineNo">074</span> for (;;) {<a name="line.74"></a>
-<span class="sourceLineNo">075</span> Entry entry = entryStream.peek();<a name="line.75"></a>
-<span class="sourceLineNo">076</span> boolean doFiltering = true;<a name="line.76"></a>
-<span class="sourceLineNo">077</span> if (firstCellInEntryBeforeFiltering == null) {<a name="line.77"></a>
-<span class="sourceLineNo">078</span> assert !entry.getEdit().isEmpty() : "should not write empty edits";<a name="line.78"></a>
-<span class="sourceLineNo">079</span> // Used to locate the region record in meta table. In WAL we only have the table name and<a name="line.79"></a>
-<span class="sourceLineNo">080</span> // encoded region name which can not be mapping to region name without scanning all the<a name="line.80"></a>
-<span class="sourceLineNo">081</span> // records for a table, so we need a start key, just like what we have done at client side<a name="line.81"></a>
-<span class="sourceLineNo">082</span> // when locating a region. For the markers, we will use the start key of the region as the<a name="line.82"></a>
-<span class="sourceLineNo">083</span> // row key for the edit. And we need to do this before filtering since all the cells may<a name="line.83"></a>
-<span class="sourceLineNo">084</span> // be filtered out, especially that for the markers.<a name="line.84"></a>
-<span class="sourceLineNo">085</span> firstCellInEntryBeforeFiltering = entry.getEdit().getCells().get(0);<a name="line.85"></a>
-<span class="sourceLineNo">086</span> } else {<a name="line.86"></a>
-<span class="sourceLineNo">087</span> // if this is not null then we know that the entry has already been filtered.<a name="line.87"></a>
-<span class="sourceLineNo">088</span> doFiltering = false;<a name="line.88"></a>
-<span class="sourceLineNo">089</span> }<a name="line.89"></a>
-<span class="sourceLineNo">090</span><a name="line.90"></a>
-<span class="sourceLineNo">091</span> if (doFiltering) {<a name="line.91"></a>
-<span class="sourceLineNo">092</span> entry = filterEntry(entry);<a name="line.92"></a>
-<span class="sourceLineNo">093</span> }<a name="line.93"></a>
-<span class="sourceLineNo">094</span> if (entry != null) {<a name="line.94"></a>
-<span class="sourceLineNo">095</span> if (!checker.canPush(entry, firstCellInEntryBeforeFiltering)) {<a name="line.95"></a>
-<span class="sourceLineNo">096</span> if (batch.getLastWalPosition() > positionBefore) {<a name="line.96"></a>
-<span class="sourceLineNo">097</span> // we have something that can push, break<a name="line.97"></a>
-<span class="sourceLineNo">098</span> break;<a name="line.98"></a>
-<span class="sourceLineNo">099</span> } else {<a name="line.99"></a>
-<span class="sourceLineNo">100</span> checker.waitUntilCanPush(entry, firstCellInEntryBeforeFiltering);<a name="line.100"></a>
-<span class="sourceLineNo">101</span> }<a name="line.101"></a>
-<span class="sourceLineNo">102</span> }<a name="line.102"></a>
-<span class="sourceLineNo">103</span> // arrive here means we can push the entry, record the last sequence id<a name="line.103"></a>
-<span class="sourceLineNo">104</span> batch.setLastSeqId(Bytes.toString(entry.getKey().getEncodedRegionName()),<a name="line.104"></a>
-<span class="sourceLineNo">105</span> entry.getKey().getSequenceId());<a name="line.105"></a>
-<span class="sourceLineNo">106</span> // actually remove the entry.<a name="line.106"></a>
-<span class="sourceLineNo">107</span> removeEntryFromStream(entryStream, batch);<a name="line.107"></a>
-<span class="sourceLineNo">108</span> if (addEntryToBatch(batch, entry)) {<a name="line.108"></a>
-<span class="sourceLineNo">109</span> break;<a name="line.109"></a>
-<span class="sourceLineNo">110</span> }<a name="line.110"></a>
-<span class="sourceLineNo">111</span> } else {<a name="line.111"></a>
-<span class="sourceLineNo">112</span> // actually remove the entry.<a name="line.112"></a>
-<span class="sourceLineNo">113</span> removeEntryFromStream(entryStream, batch);<a name="line.113"></a>
-<span class="sourceLineNo">114</span> }<a name="line.114"></a>
-<span class="sourceLineNo">115</span> boolean hasNext = entryStream.hasNext();<a name="line.115"></a>
-<span class="sourceLineNo">116</span> // always return if we have switched to a new file.<a name="line.116"></a>
-<span class="sourceLineNo">117</span> if (switched(entryStream, currentPath)) {<a name="line.117"></a>
-<span class="sourceLineNo">118</span> batch.setEndOfFile(true);<a name="line.118"></a>
-<span class="sourceLineNo">119</span> break;<a name="line.119"></a>
-<span class="sourceLineNo">120</span> }<a name="line.120"></a>
-<span class="sourceLineNo">121</span> if (!hasNext) {<a name="line.121"></a>
-<span class="sourceLineNo">122</span> break;<a name="line.122"></a>
-<span class="sourceLineNo">123</span> }<a name="line.123"></a>
-<span class="sourceLineNo">124</span> }<a name="line.124"></a>
-<span class="sourceLineNo">125</span> return batch;<a name="line.125"></a>
-<span class="sourceLineNo">126</span> }<a name="line.126"></a>
-<span class="sourceLineNo">127</span><a name="line.127"></a>
-<span class="sourceLineNo">128</span> private void removeEntryFromStream(WALEntryStream entryStream, WALEntryBatch batch)<a name="line.128"></a>
-<span class="sourceLineNo">129</span> throws IOException {<a name="line.129"></a>
-<span class="sourceLineNo">130</span> entryStream.next();<a name="line.130"></a>
-<span class="sourceLineNo">131</span> firstCellInEntryBeforeFiltering = null;<a name="line.131"></a>
-<span class="sourceLineNo">132</span> batch.setLastWalPosition(entryStream.getPosition());<a name="line.132"></a>
-<span class="sourceLineNo">133</span> }<a name="line.133"></a>
-<span class="sourceLineNo">134</span>}<a name="line.134"></a>
+<span class="sourceLineNo">056</span> long positionBefore = entryStream.getPosition();<a name="line.56"></a>
+<span class="sourceLineNo">057</span> for (;;) {<a name="line.57"></a>
+<span class="sourceLineNo">058</span> Entry entry = entryStream.peek();<a name="line.58"></a>
+<span class="sourceLineNo">059</span> boolean doFiltering = true;<a name="line.59"></a>
+<span class="sourceLineNo">060</span> if (firstCellInEntryBeforeFiltering == null) {<a name="line.60"></a>
+<span class="sourceLineNo">061</span> assert !entry.getEdit().isEmpty() : "should not write empty edits";<a name="line.61"></a>
+<span class="sourceLineNo">062</span> // Used to locate the region record in meta table. In WAL we only have the table name and<a name="line.62"></a>
+<span class="sourceLineNo">063</span> // encoded region name which can not be mapping to region name without scanning all the<a name="line.63"></a>
+<span class="sourceLineNo">064</span> // records for a table, so we need a start key, just like what we have done at client side<a name="line.64"></a>
+<span class="sourceLineNo">065</span> // when locating a region. For the markers, we will use the start key of the region as the<a name="line.65"></a>
+<span class="sourceLineNo">066</span> // row key for the edit. And we need to do this before filtering since all the cells may<a name="line.66"></a>
+<span class="sourceLineNo">067</span> // be filtered out, especially that for the markers.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> firstCellInEntryBeforeFiltering = entry.getEdit().getCells().get(0);<a name="line.68"></a>
+<span class="sourceLineNo">069</span> } else {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> // if this is not null then we know that the entry has already been filtered.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> doFiltering = false;<a name="line.71"></a>
+<span class="sourceLineNo">072</span> }<a name="line.72"></a>
+<span class="sourceLineNo">073</span><a name="line.73"></a>
+<span class="sourceLineNo">074</span> if (doFiltering) {<a name="line.74"></a>
+<span class="sourceLineNo">075</span> entry = filterEntry(entry);<a name="line.75"></a>
+<span class="sourceLineNo">076</span> }<a name="line.76"></a>
+<span class="sourceLineNo">077</span> if (entry != null) {<a name="line.77"></a>
+<span class="sourceLineNo">078</span> if (!checker.canPush(entry, firstCellInEntryBeforeFiltering)) {<a name="line.78"></a>
+<span class="sourceLineNo">079</span> if (batch.getLastWalPosition() > positionBefore) {<a name="line.79"></a>
+<span class="sourceLineNo">080</span> // we have something that can push, break<a name="line.80"></a>
+<span class="sourceLineNo">081</span> break;<a name="line.81"></a>
+<span class="sourceLineNo">082</span> } else {<a name="line.82"></a>
+<span class="sourceLineNo">083</span> checker.waitUntilCanPush(entry, firstCellInEntryBeforeFiltering);<a name="line.83"></a>
+<span class="sourceLineNo">084</span> }<a name="line.84"></a>
+<span class="sourceLineNo">085</span> }<a name="line.85"></a>
+<span class="sourceLineNo">086</span> // arrive here means we can push the entry, record the last sequence id<a name="line.86"></a>
+<span class="sourceLineNo">087</span> batch.setLastSeqId(Bytes.toString(entry.getKey().getEncodedRegionName()),<a name="line.87"></a>
+<span class="sourceLineNo">088</span> entry.getKey().getSequenceId());<a name="line.88"></a>
+<span class="sourceLineNo">089</span> // actually remove the entry.<a name="line.89"></a>
+<span class="sourceLineNo">090</span> removeEntryFromStream(entryStream, batch);<a name="line.90"></a>
+<span class="sourceLineNo">091</span> if (addEntryToBatch(batch, entry)) {<a name="line.91"></a>
+<span class="sourceLineNo">092</span> break;<a name="line.92"></a>
+<span class="sourceLineNo">093</span> }<a name="line.93"></a>
+<span class="sourceLineNo">094</span> } else {<a name="line.94"></a>
+<span class="sourceLineNo">095</span> // actually remove the entry.<a name="line.95"></a>
+<span class="sourceLineNo">096</span> removeEntryFromStream(entryStream, batch);<a name="line.96"></a>
+<span class="sourceLineNo">097</span> }<a name="line.97"></a>
+<span class="sourceLineNo">098</span> boolean hasNext = entryStream.hasNext();<a name="line.98"></a>
+<span class="sourceLineNo">099</span> // always return if we have switched to a new file.<a name="line.99"></a>
+<span class="sourceLineNo">100</span> if (switched(entryStream, currentPath)) {<a name="line.100"></a>
+<span class="sourceLineNo">101</span> batch.setEndOfFile(true);<a name="line.101"></a>
+<span class="sourceLineNo">102</span> break;<a name="line.102"></a>
+<span class="sourceLineNo">103</span> }<a name="line.103"></a>
+<span class="sourceLineNo">104</span> if (!hasNext) {<a name="line.104"></a>
+<span class="sourceLineNo">105</span> break;<a name="line.105"></a>
+<span class="sourceLineNo">106</span> }<a name="line.106"></a>
+<span class="sourceLineNo">107</span> }<a name="line.107"></a>
+<span class="sourceLineNo">108</span> }<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span> private void removeEntryFromStream(WALEntryStream entryStream, WALEntryBatch batch)<a name="line.110"></a>
+<span class="sourceLineNo">111</span> throws IOException {<a name="line.111"></a>
+<span class="sourceLineNo">112</span> entryStream.next();<a name="line.112"></a>
+<span class="sourceLineNo">113</span> firstCellInEntryBeforeFiltering = null;<a name="line.113"></a>
+<span class="sourceLineNo">114</span> batch.setLastWalPosition(entryStream.getPosition());<a name="line.114"></a>
+<span class="sourceLineNo">115</span> }<a name="line.115"></a>
+<span class="sourceLineNo">116</span>}<a name="line.116"></a>
diff --git a/downloads.html b/downloads.html
index 53e8908..8fb0cb5 100644
--- a/downloads.html
+++ b/downloads.html
@@ -424,7 +424,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/export_control.html b/export_control.html
index aafed97..948dd96 100644
--- a/export_control.html
+++ b/export_control.html
@@ -186,7 +186,7 @@ for more details.</p>
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/index.html b/index.html
index 1823ef4..df71e46 100644
--- a/index.html
+++ b/index.html
@@ -264,7 +264,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/issue-tracking.html b/issue-tracking.html
index 2c61576..b0e1755 100644
--- a/issue-tracking.html
+++ b/issue-tracking.html
@@ -158,7 +158,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/mail-lists.html b/mail-lists.html
index 9f05a93..821fadb 100644
--- a/mail-lists.html
+++ b/mail-lists.html
@@ -204,7 +204,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/metrics.html b/metrics.html
index 40d1b1d..f3920eb 100644
--- a/metrics.html
+++ b/metrics.html
@@ -314,7 +314,7 @@ export HBASE_REGIONSERVER_OPTS="$HBASE_JMX_OPTS -Dcom.sun.management.jmxrem
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/old_news.html b/old_news.html
index 3d0248f..db40479 100644
--- a/old_news.html
+++ b/old_news.html
@@ -305,7 +305,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/plugin-management.html b/plugin-management.html
index bcfc1e1..edcc2b5 100644
--- a/plugin-management.html
+++ b/plugin-management.html
@@ -310,7 +310,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/plugins.html b/plugins.html
index 9c3ab48..1b845de 100644
--- a/plugins.html
+++ b/plugins.html
@@ -237,7 +237,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/poweredbyhbase.html b/poweredbyhbase.html
index 9ef7e0a..702b5a6 100644
--- a/poweredbyhbase.html
+++ b/poweredbyhbase.html
@@ -639,7 +639,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/project-info.html b/project-info.html
index 2695511..b1feb29 100644
--- a/project-info.html
+++ b/project-info.html
@@ -199,7 +199,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/project-reports.html b/project-reports.html
index 3da48a7..1ce15fa 100644
--- a/project-reports.html
+++ b/project-reports.html
@@ -175,7 +175,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/project-summary.html b/project-summary.html
index 1089bda..d17af92 100644
--- a/project-summary.html
+++ b/project-summary.html
@@ -201,7 +201,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/pseudo-distributed.html b/pseudo-distributed.html
index 58ed657..0ca3cde 100644
--- a/pseudo-distributed.html
+++ b/pseudo-distributed.html
@@ -163,7 +163,7 @@ Running Apache HBase (TM) in pseudo-distributed mode
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/replication.html b/replication.html
index 6064aea..876a0e8 100644
--- a/replication.html
+++ b/replication.html
@@ -158,7 +158,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/resources.html b/resources.html
index 9a9cbc1..2586785 100644
--- a/resources.html
+++ b/resources.html
@@ -186,7 +186,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/source-repository.html b/source-repository.html
index f4fe997..2b81641 100644
--- a/source-repository.html
+++ b/source-repository.html
@@ -169,7 +169,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/sponsors.html b/sponsors.html
index 0f2309b..ae96bbd 100644
--- a/sponsors.html
+++ b/sponsors.html
@@ -188,7 +188,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/supportingprojects.html b/supportingprojects.html
index a889cab..117c8ab 100644
--- a/supportingprojects.html
+++ b/supportingprojects.html
@@ -379,7 +379,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/team-list.html b/team-list.html
index 936054b..2420298 100644
--- a/team-list.html
+++ b/team-list.html
@@ -720,7 +720,7 @@
<div class="row">
<p>Copyright ©2007–2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-18</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2021-06-20</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/testdevapidocs/index-all.html b/testdevapidocs/index-all.html
index cab7cab..3ca9495 100644
--- a/testdevapidocs/index-all.html
+++ b/testdevapidocs/index-all.html
@@ -70578,8 +70578,8 @@
</dd>
<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#testReplicationOfEmptyWALSurroundedNonEmptyWAL--">testReplicationOfEmptyWALSurroundedNonEmptyWAL()</a></span> - Method in class org.apache.hadoop.hbase.replication.<a href="org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationEmptyWALRecovery</a></dt>
<dd>
-<div class="block">This test make sure we replicate all the enties from the non empty WALs which
- are surrounding the empty WALs</div>
+<div class="block">This test make sure we replicate all the enties from the non empty WALs which are surrounding
+ the empty WALs</div>
</dd>
<dt><a href="org/apache/hadoop/hbase/replication/TestReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">TestReplicationPeerConfig</span></a> - Class in <a href="org/apache/hadoop/hbase/replication/package-summary.html">org.apache.hadoop.hbase.replication</a></dt>
<dd> </dd>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html b/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html
index 0f984da..ea9e302 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html
@@ -245,8 +245,8 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#testReplicationOfEmptyWALSurroundedNonEmptyWAL--">testReplicationOfEmptyWALSurroundedNonEmptyWAL</a></span>()</code>
-<div class="block">This test make sure we replicate all the enties from the non empty WALs which
- are surrounding the empty WALs</div>
+<div class="block">This test make sure we replicate all the enties from the non empty WALs which are surrounding
+ the empty WALs</div>
</td>
</tr>
<tr id="i9" class="rowColor">
@@ -295,7 +295,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockList">
<li class="blockList">
<h4>mvcc</h4>
-<pre>org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.53">mvcc</a></pre>
+<pre>org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.52">mvcc</a></pre>
</li>
</ul>
<a name="info">
@@ -304,7 +304,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockList">
<li class="blockList">
<h4>info</h4>
-<pre>static final org.apache.hadoop.hbase.client.RegionInfo <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.54">info</a></pre>
+<pre>static final org.apache.hadoop.hbase.client.RegionInfo <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.53">info</a></pre>
</li>
</ul>
<a name="scopes">
@@ -313,7 +313,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockList">
<li class="blockList">
<h4>scopes</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.55">scopes</a></pre>
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.54">scopes</a></pre>
</li>
</ul>
<a name="CLASS_RULE">
@@ -410,11 +410,11 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockList">
<li class="blockList">
<h4>testReplicationOfEmptyWALFollowingNonEmptyWAL</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.161">testReplicationOfEmptyWALFollowingNonEmptyWAL</a>()
+<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.160">testReplicationOfEmptyWALFollowingNonEmptyWAL</a>()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
-<div class="block">Test empty WAL along with non empty WALs in the same batch. This test is to make sure
- when we see the empty and handle the EOF exception, we are able to existing the previous
- batch of entries without loosing it. This test also tests the number of batches shipped</div>
+<div class="block">Test empty WAL along with non empty WALs in the same batch. This test is to make sure when we
+ see the empty and handle the EOF exception, we are able to ship the previous batch of entries
+ without loosing it. This test also tests the number of batches shipped</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - throws any exception</dd>
@@ -427,11 +427,11 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockList">
<li class="blockList">
<h4>testReplicationOfEmptyWALFollowedByNonEmptyWAL</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.219">testReplicationOfEmptyWALFollowedByNonEmptyWAL</a>()
+<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.216">testReplicationOfEmptyWALFollowedByNonEmptyWAL</a>()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
-<div class="block">Test empty WAL along with non empty WALs in the same batch. This test is to make sure
- when we see the empty WAL and handle the EOF exception, we are able to proceed
- with next batch and replicate it properly without missing data.</div>
+<div class="block">Test empty WAL along with non empty WALs in the same batch. This test is to make sure when we
+ see the empty WAL and handle the EOF exception, we are able to proceed with next batch and
+ replicate it properly without missing data.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - throws any exception</dd>
@@ -444,10 +444,10 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockList">
<li class="blockList">
<h4>testReplicationOfEmptyWALSurroundedNonEmptyWAL</h4>
-<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.274">testReplicationOfEmptyWALSurroundedNonEmptyWAL</a>()
+<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.270">testReplicationOfEmptyWALSurroundedNonEmptyWAL</a>()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
-<div class="block">This test make sure we replicate all the enties from the non empty WALs which
- are surrounding the empty WALs</div>
+<div class="block">This test make sure we replicate all the enties from the non empty WALs which are surrounding
+ the empty WALs</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - throws exception</dd>
@@ -460,7 +460,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockList">
<li class="blockList">
<h4>injectEmptyWAL</h4>
-<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.329">injectEmptyWAL</a>(int numRs,
+<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.325">injectEmptyWAL</a>(int numRs,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.fs.Path> emptyWalPaths)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
@@ -475,7 +475,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockList">
<li class="blockList">
<h4>getWalKeyImpl</h4>
-<pre>protected org.apache.hadoop.hbase.wal.WALKeyImpl <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.342">getWalKeyImpl</a>()</pre>
+<pre>protected org.apache.hadoop.hbase.wal.WALKeyImpl <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.338">getWalKeyImpl</a>()</pre>
</li>
</ul>
<a name="rollWalsAndWaitForDeque-int-">
@@ -484,7 +484,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockList">
<li class="blockList">
<h4>rollWalsAndWaitForDeque</h4>
-<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.347">rollWalsAndWaitForDeque</a>(int numRs)
+<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.343">rollWalsAndWaitForDeque</a>(int numRs)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
@@ -498,7 +498,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
<ul class="blockListLast">
<li class="blockList">
<h4>appendEntriesToWal</h4>
-<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.357">appendEntriesToWal</a>(int numEntries,
+<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html#line.353">appendEntriesToWal</a>(int numEntries,
org.apache.hadoop.hbase.wal.WAL wal)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html
index c3b8eb1..b377365 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html
@@ -55,14 +55,14 @@
<span class="sourceLineNo">047</span>import org.junit.Test;<a name="line.47"></a>
<span class="sourceLineNo">048</span>import org.junit.experimental.categories.Category;<a name="line.48"></a>
<span class="sourceLineNo">049</span><a name="line.49"></a>
-<span class="sourceLineNo">050</span>@Category<a name="line.50"></a>
-<span class="sourceLineNo">051</span> ({ ReplicationTests.class, LargeTests.class }) public class TestReplicationEmptyWALRecovery<a name="line.51"></a>
-<span class="sourceLineNo">052</span> extends TestReplicationBase {<a name="line.52"></a>
-<span class="sourceLineNo">053</span> MultiVersionConcurrencyControl mvcc = new MultiVersionConcurrencyControl();<a name="line.53"></a>
-<span class="sourceLineNo">054</span> static final RegionInfo info = RegionInfoBuilder.newBuilder(tableName).build();<a name="line.54"></a>
-<span class="sourceLineNo">055</span> NavigableMap<byte[], Integer> scopes = new TreeMap<>(Bytes.BYTES_COMPARATOR);<a name="line.55"></a>
-<span class="sourceLineNo">056</span><a name="line.56"></a>
-<span class="sourceLineNo">057</span> @ClassRule public static final HBaseClassTestRule CLASS_RULE =<a name="line.57"></a>
+<span class="sourceLineNo">050</span>@Category({ ReplicationTests.class, LargeTests.class })<a name="line.50"></a>
+<span class="sourceLineNo">051</span>public class TestReplicationEmptyWALRecovery extends TestReplicationBase {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> MultiVersionConcurrencyControl mvcc = new MultiVersionConcurrencyControl();<a name="line.52"></a>
+<span class="sourceLineNo">053</span> static final RegionInfo info = RegionInfoBuilder.newBuilder(tableName).build();<a name="line.53"></a>
+<span class="sourceLineNo">054</span> NavigableMap<byte[], Integer> scopes = new TreeMap<>(Bytes.BYTES_COMPARATOR);<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span> @ClassRule<a name="line.56"></a>
+<span class="sourceLineNo">057</span> public static final HBaseClassTestRule CLASS_RULE =<a name="line.57"></a>
<span class="sourceLineNo">058</span> HBaseClassTestRule.forClass(TestReplicationEmptyWALRecovery.class);<a name="line.58"></a>
<span class="sourceLineNo">059</span><a name="line.59"></a>
<span class="sourceLineNo">060</span> @Before<a name="line.60"></a>
@@ -159,221 +159,217 @@
<span class="sourceLineNo">151</span> }<a name="line.151"></a>
<span class="sourceLineNo">152</span><a name="line.152"></a>
<span class="sourceLineNo">153</span> /**<a name="line.153"></a>
-<span class="sourceLineNo">154</span> * Test empty WAL along with non empty WALs in the same batch. This test is to make sure<a name="line.154"></a>
-<span class="sourceLineNo">155</span> * when we see the empty and handle the EOF exception, we are able to existing the previous<a name="line.155"></a>
-<span class="sourceLineNo">156</span> * batch of entries without loosing it. This test also tests the number of batches shipped<a name="line.156"></a>
-<span class="sourceLineNo">157</span> *<a name="line.157"></a>
-<span class="sourceLineNo">158</span> * @throws Exception throws any exception<a name="line.158"></a>
-<span class="sourceLineNo">159</span> */<a name="line.159"></a>
-<span class="sourceLineNo">160</span> @Test<a name="line.160"></a>
-<span class="sourceLineNo">161</span> public void testReplicationOfEmptyWALFollowingNonEmptyWAL() throws Exception {<a name="line.161"></a>
-<span class="sourceLineNo">162</span> // Disable the replication peer to accumulate the non empty WAL followed by empty WAL<a name="line.162"></a>
-<span class="sourceLineNo">163</span> hbaseAdmin.disableReplicationPeer(PEER_ID2);<a name="line.163"></a>
-<span class="sourceLineNo">164</span> int numOfEntriesToReplicate = 20;<a name="line.164"></a>
-<span class="sourceLineNo">165</span><a name="line.165"></a>
-<span class="sourceLineNo">166</span> final int numRs = UTIL1.getHBaseCluster().getRegionServerThreads().size();<a name="line.166"></a>
-<span class="sourceLineNo">167</span> // for each RS, create an empty wal with same walGroupId<a name="line.167"></a>
-<span class="sourceLineNo">168</span> final List<Path> emptyWalPaths = new ArrayList<>();<a name="line.168"></a>
-<span class="sourceLineNo">169</span> long ts = EnvironmentEdgeManager.currentTime();<a name="line.169"></a>
-<span class="sourceLineNo">170</span> for (int i = 0; i < numRs; i++) {<a name="line.170"></a>
-<span class="sourceLineNo">171</span> RegionInfo regionInfo =<a name="line.171"></a>
-<span class="sourceLineNo">172</span> UTIL1.getHBaseCluster().getRegions(tableName.getName()).get(0).getRegionInfo();<a name="line.172"></a>
-<span class="sourceLineNo">173</span> WAL wal = UTIL1.getHBaseCluster().getRegionServer(i).getWAL(regionInfo);<a name="line.173"></a>
-<span class="sourceLineNo">174</span> Path currentWalPath = AbstractFSWALProvider.getCurrentFileName(wal);<a name="line.174"></a>
-<span class="sourceLineNo">175</span><a name="line.175"></a>
-<span class="sourceLineNo">176</span> appendEntriesToWal(numOfEntriesToReplicate, wal);<a name="line.176"></a>
-<span class="sourceLineNo">177</span> wal.rollWriter();<a name="line.177"></a>
-<span class="sourceLineNo">178</span> String walGroupId = AbstractFSWALProvider.getWALPrefixFromWALName(currentWalPath.getName());<a name="line.178"></a>
-<span class="sourceLineNo">179</span> Path emptyWalPath = new Path(UTIL1.getDefaultRootDirPath(), walGroupId + "." + ts);<a name="line.179"></a>
-<span class="sourceLineNo">180</span> UTIL1.getTestFileSystem().create(emptyWalPath).close();<a name="line.180"></a>
-<span class="sourceLineNo">181</span> emptyWalPaths.add(emptyWalPath);<a name="line.181"></a>
-<span class="sourceLineNo">182</span> }<a name="line.182"></a>
-<span class="sourceLineNo">183</span><a name="line.183"></a>
-<span class="sourceLineNo">184</span> injectEmptyWAL(numRs, emptyWalPaths);<a name="line.184"></a>
-<span class="sourceLineNo">185</span> // There should be three WALs in queue<a name="line.185"></a>
-<span class="sourceLineNo">186</span> // 1. empty WAL<a name="line.186"></a>
-<span class="sourceLineNo">187</span> // 2. non empty WAL<a name="line.187"></a>
-<span class="sourceLineNo">188</span> // 3. live WAL<a name="line.188"></a>
-<span class="sourceLineNo">189</span> //verifyNumberOfLogsInQueue(3, numRs);<a name="line.189"></a>
-<span class="sourceLineNo">190</span> hbaseAdmin.enableReplicationPeer(PEER_ID2);<a name="line.190"></a>
-<span class="sourceLineNo">191</span> // ReplicationSource should advance past the empty wal, or else the test will fail<a name="line.191"></a>
-<span class="sourceLineNo">192</span> waitForLogAdvance(numRs);<a name="line.192"></a>
-<span class="sourceLineNo">193</span><a name="line.193"></a>
-<span class="sourceLineNo">194</span> // Now we should expect numOfEntriesToReplicate entries<a name="line.194"></a>
-<span class="sourceLineNo">195</span> // replicated from each region server. This makes sure we didn't loose data<a name="line.195"></a>
-<span class="sourceLineNo">196</span> // from any previous batch when we encounter EOF exception for empty file.<a name="line.196"></a>
-<span class="sourceLineNo">197</span> Assert.assertEquals("Replicated entries are not correct", numOfEntriesToReplicate * numRs,<a name="line.197"></a>
-<span class="sourceLineNo">198</span> replicatedEntries.size());<a name="line.198"></a>
-<span class="sourceLineNo">199</span><a name="line.199"></a>
-<span class="sourceLineNo">200</span> // We expect just one batch of replication which will<a name="line.200"></a>
-<span class="sourceLineNo">201</span> // be from when we handle the EOF exception.<a name="line.201"></a>
-<span class="sourceLineNo">202</span> Assert.assertEquals("Replicated batches are not correct", 1, replicateCount.intValue());<a name="line.202"></a>
-<span class="sourceLineNo">203</span> verifyNumberOfLogsInQueue(1, numRs);<a name="line.203"></a>
-<span class="sourceLineNo">204</span> // we're now writing to the new wal<a name="line.204"></a>
-<span class="sourceLineNo">205</span> // if everything works, the source should've stopped reading from the empty wal, and start<a name="line.205"></a>
-<span class="sourceLineNo">206</span> // replicating from the new wal<a name="line.206"></a>
-<span class="sourceLineNo">207</span> runSimplePutDeleteTest();<a name="line.207"></a>
-<span class="sourceLineNo">208</span> rollWalsAndWaitForDeque(numRs);<a name="line.208"></a>
-<span class="sourceLineNo">209</span> }<a name="line.209"></a>
-<span class="sourceLineNo">210</span><a name="line.210"></a>
-<span class="sourceLineNo">211</span> /**<a name="line.211"></a>
-<span class="sourceLineNo">212</span> * Test empty WAL along with non empty WALs in the same batch. This test is to make sure<a name="line.212"></a>
-<span class="sourceLineNo">213</span> * when we see the empty WAL and handle the EOF exception, we are able to proceed<a name="line.213"></a>
-<span class="sourceLineNo">214</span> * with next batch and replicate it properly without missing data.<a name="line.214"></a>
-<span class="sourceLineNo">215</span> *<a name="line.215"></a>
-<span class="sourceLineNo">216</span> * @throws Exception throws any exception<a name="line.216"></a>
-<span class="sourceLineNo">217</span> */<a name="line.217"></a>
-<span class="sourceLineNo">218</span> @Test<a name="line.218"></a>
-<span class="sourceLineNo">219</span> public void testReplicationOfEmptyWALFollowedByNonEmptyWAL() throws Exception {<a name="line.219"></a>
-<span class="sourceLineNo">220</span> // Disable the replication peer to accumulate the non empty WAL followed by empty WAL<a name="line.220"></a>
-<span class="sourceLineNo">221</span> hbaseAdmin.disableReplicationPeer(PEER_ID2);<a name="line.221"></a>
-<span class="sourceLineNo">222</span> int numOfEntriesToReplicate = 20;<a name="line.222"></a>
-<span class="sourceLineNo">223</span><a name="line.223"></a>
-<span class="sourceLineNo">224</span> final int numRs = UTIL1.getHBaseCluster().getRegionServerThreads().size();<a name="line.224"></a>
-<span class="sourceLineNo">225</span> // for each RS, create an empty wal with same walGroupId<a name="line.225"></a>
-<span class="sourceLineNo">226</span> final List<Path> emptyWalPaths = new ArrayList<>();<a name="line.226"></a>
-<span class="sourceLineNo">227</span> long ts = EnvironmentEdgeManager.currentTime();<a name="line.227"></a>
-<span class="sourceLineNo">228</span> WAL wal = null;<a name="line.228"></a>
-<span class="sourceLineNo">229</span> for (int i = 0; i < numRs; i++) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span> RegionInfo regionInfo =<a name="line.230"></a>
-<span class="sourceLineNo">231</span> UTIL1.getHBaseCluster().getRegions(tableName.getName()).get(0).getRegionInfo();<a name="line.231"></a>
-<span class="sourceLineNo">232</span> wal = UTIL1.getHBaseCluster().getRegionServer(i).getWAL(regionInfo);<a name="line.232"></a>
-<span class="sourceLineNo">233</span> Path currentWalPath = AbstractFSWALProvider.getCurrentFileName(wal);<a name="line.233"></a>
-<span class="sourceLineNo">234</span> appendEntriesToWal(numOfEntriesToReplicate, wal);<a name="line.234"></a>
-<span class="sourceLineNo">235</span> String walGroupId = AbstractFSWALProvider.getWALPrefixFromWALName(currentWalPath.getName());<a name="line.235"></a>
-<span class="sourceLineNo">236</span> Path emptyWalPath = new Path(UTIL1.getDataTestDir(), walGroupId + "." + ts);<a name="line.236"></a>
-<span class="sourceLineNo">237</span> UTIL1.getTestFileSystem().create(emptyWalPath).close();<a name="line.237"></a>
-<span class="sourceLineNo">238</span> emptyWalPaths.add(emptyWalPath);<a name="line.238"></a>
-<span class="sourceLineNo">239</span><a name="line.239"></a>
-<span class="sourceLineNo">240</span> }<a name="line.240"></a>
-<span class="sourceLineNo">241</span> injectEmptyWAL(numRs, emptyWalPaths);<a name="line.241"></a>
-<span class="sourceLineNo">242</span> // roll the WAL now<a name="line.242"></a>
-<span class="sourceLineNo">243</span> for (int i = 0; i < numRs; i++) {<a name="line.243"></a>
-<span class="sourceLineNo">244</span> wal.rollWriter();<a name="line.244"></a>
-<span class="sourceLineNo">245</span> }<a name="line.245"></a>
-<span class="sourceLineNo">246</span> hbaseAdmin.enableReplicationPeer(PEER_ID2);<a name="line.246"></a>
-<span class="sourceLineNo">247</span> // ReplicationSource should advance past the empty wal, or else the test will fail<a name="line.247"></a>
-<span class="sourceLineNo">248</span> waitForLogAdvance(numRs);<a name="line.248"></a>
-<span class="sourceLineNo">249</span><a name="line.249"></a>
-<span class="sourceLineNo">250</span> // Now we should expect numOfEntriesToReplicate entries<a name="line.250"></a>
-<span class="sourceLineNo">251</span> // replicated from each region server. This makes sure we didn't loose data<a name="line.251"></a>
-<span class="sourceLineNo">252</span> // from any previous batch when we encounter EOF exception for empty file.<a name="line.252"></a>
-<span class="sourceLineNo">253</span> Assert.assertEquals("Replicated entries are not correct", numOfEntriesToReplicate * numRs,<a name="line.253"></a>
-<span class="sourceLineNo">254</span> replicatedEntries.size());<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span> // We expect just one batch of replication to be shipped which will<a name="line.256"></a>
-<span class="sourceLineNo">257</span> // for non empty WAL<a name="line.257"></a>
-<span class="sourceLineNo">258</span> Assert.assertEquals("Replicated batches are not correct", 1, replicateCount.get());<a name="line.258"></a>
-<span class="sourceLineNo">259</span> verifyNumberOfLogsInQueue(1, numRs);<a name="line.259"></a>
-<span class="sourceLineNo">260</span> // we're now writing to the new wal<a name="line.260"></a>
-<span class="sourceLineNo">261</span> // if everything works, the source should've stopped reading from the empty wal, and start<a name="line.261"></a>
-<span class="sourceLineNo">262</span> // replicating from the new wal<a name="line.262"></a>
-<span class="sourceLineNo">263</span> runSimplePutDeleteTest();<a name="line.263"></a>
-<span class="sourceLineNo">264</span> rollWalsAndWaitForDeque(numRs);<a name="line.264"></a>
-<span class="sourceLineNo">265</span> }<a name="line.265"></a>
-<span class="sourceLineNo">266</span><a name="line.266"></a>
-<span class="sourceLineNo">267</span> /**<a name="line.267"></a>
-<span class="sourceLineNo">268</span> * This test make sure we replicate all the enties from the non empty WALs which<a name="line.268"></a>
-<span class="sourceLineNo">269</span> * are surrounding the empty WALs<a name="line.269"></a>
-<span class="sourceLineNo">270</span> *<a name="line.270"></a>
-<span class="sourceLineNo">271</span> * @throws Exception throws exception<a name="line.271"></a>
-<span class="sourceLineNo">272</span> */<a name="line.272"></a>
-<span class="sourceLineNo">273</span> @Test<a name="line.273"></a>
-<span class="sourceLineNo">274</span> public void testReplicationOfEmptyWALSurroundedNonEmptyWAL() throws Exception {<a name="line.274"></a>
-<span class="sourceLineNo">275</span> // Disable the replication peer to accumulate the non empty WAL followed by empty WAL<a name="line.275"></a>
-<span class="sourceLineNo">276</span> hbaseAdmin.disableReplicationPeer(PEER_ID2);<a name="line.276"></a>
-<span class="sourceLineNo">277</span> int numOfEntriesToReplicate = 20;<a name="line.277"></a>
-<span class="sourceLineNo">278</span><a name="line.278"></a>
-<span class="sourceLineNo">279</span> final int numRs = UTIL1.getHBaseCluster().getRegionServerThreads().size();<a name="line.279"></a>
-<span class="sourceLineNo">280</span> // for each RS, create an empty wal with same walGroupId<a name="line.280"></a>
-<span class="sourceLineNo">281</span> final List<Path> emptyWalPaths = new ArrayList<>();<a name="line.281"></a>
-<span class="sourceLineNo">282</span> long ts = EnvironmentEdgeManager.currentTime();<a name="line.282"></a>
-<span class="sourceLineNo">283</span> WAL wal = null;<a name="line.283"></a>
-<span class="sourceLineNo">284</span> for (int i = 0; i < numRs; i++) {<a name="line.284"></a>
-<span class="sourceLineNo">285</span> RegionInfo regionInfo =<a name="line.285"></a>
-<span class="sourceLineNo">286</span> UTIL1.getHBaseCluster().getRegions(tableName.getName()).get(0).getRegionInfo();<a name="line.286"></a>
-<span class="sourceLineNo">287</span> wal = UTIL1.getHBaseCluster().getRegionServer(i).getWAL(regionInfo);<a name="line.287"></a>
-<span class="sourceLineNo">288</span> Path currentWalPath = AbstractFSWALProvider.getCurrentFileName(wal);<a name="line.288"></a>
-<span class="sourceLineNo">289</span> appendEntriesToWal(numOfEntriesToReplicate, wal);<a name="line.289"></a>
-<span class="sourceLineNo">290</span> wal.rollWriter();<a name="line.290"></a>
-<span class="sourceLineNo">291</span> String walGroupId = AbstractFSWALProvider.getWALPrefixFromWALName(currentWalPath.getName());<a name="line.291"></a>
-<span class="sourceLineNo">292</span> Path emptyWalPath = new Path(UTIL1.getDataTestDir(), walGroupId + "." + ts);<a name="line.292"></a>
-<span class="sourceLineNo">293</span> UTIL1.getTestFileSystem().create(emptyWalPath).close();<a name="line.293"></a>
-<span class="sourceLineNo">294</span> emptyWalPaths.add(emptyWalPath);<a name="line.294"></a>
-<span class="sourceLineNo">295</span> }<a name="line.295"></a>
-<span class="sourceLineNo">296</span> injectEmptyWAL(numRs, emptyWalPaths);<a name="line.296"></a>
-<span class="sourceLineNo">297</span><a name="line.297"></a>
-<span class="sourceLineNo">298</span> // roll the WAL again with some entries<a name="line.298"></a>
-<span class="sourceLineNo">299</span> for (int i = 0; i < numRs; i++) {<a name="line.299"></a>
-<span class="sourceLineNo">300</span> appendEntriesToWal(numOfEntriesToReplicate, wal);<a name="line.300"></a>
-<span class="sourceLineNo">301</span> wal.rollWriter();<a name="line.301"></a>
-<span class="sourceLineNo">302</span> }<a name="line.302"></a>
+<span class="sourceLineNo">154</span> * Test empty WAL along with non empty WALs in the same batch. This test is to make sure when we<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * see the empty and handle the EOF exception, we are able to ship the previous batch of entries<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * without loosing it. This test also tests the number of batches shipped<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * @throws Exception throws any exception<a name="line.157"></a>
+<span class="sourceLineNo">158</span> */<a name="line.158"></a>
+<span class="sourceLineNo">159</span> @Test<a name="line.159"></a>
+<span class="sourceLineNo">160</span> public void testReplicationOfEmptyWALFollowingNonEmptyWAL() throws Exception {<a name="line.160"></a>
+<span class="sourceLineNo">161</span> // Disable the replication peer to accumulate the non empty WAL followed by empty WAL<a name="line.161"></a>
+<span class="sourceLineNo">162</span> hbaseAdmin.disableReplicationPeer(PEER_ID2);<a name="line.162"></a>
+<span class="sourceLineNo">163</span> int numOfEntriesToReplicate = 20;<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span> final int numRs = UTIL1.getHBaseCluster().getRegionServerThreads().size();<a name="line.165"></a>
+<span class="sourceLineNo">166</span> // for each RS, create an empty wal with same walGroupId<a name="line.166"></a>
+<span class="sourceLineNo">167</span> final List<Path> emptyWalPaths = new ArrayList<>();<a name="line.167"></a>
+<span class="sourceLineNo">168</span> long ts = EnvironmentEdgeManager.currentTime();<a name="line.168"></a>
+<span class="sourceLineNo">169</span> for (int i = 0; i < numRs; i++) {<a name="line.169"></a>
+<span class="sourceLineNo">170</span> RegionInfo regionInfo =<a name="line.170"></a>
+<span class="sourceLineNo">171</span> UTIL1.getHBaseCluster().getRegions(tableName.getName()).get(0).getRegionInfo();<a name="line.171"></a>
+<span class="sourceLineNo">172</span> WAL wal = UTIL1.getHBaseCluster().getRegionServer(i).getWAL(regionInfo);<a name="line.172"></a>
+<span class="sourceLineNo">173</span> Path currentWalPath = AbstractFSWALProvider.getCurrentFileName(wal);<a name="line.173"></a>
+<span class="sourceLineNo">174</span><a name="line.174"></a>
+<span class="sourceLineNo">175</span> appendEntriesToWal(numOfEntriesToReplicate, wal);<a name="line.175"></a>
+<span class="sourceLineNo">176</span> String walGroupId = AbstractFSWALProvider.getWALPrefixFromWALName(currentWalPath.getName());<a name="line.176"></a>
+<span class="sourceLineNo">177</span> Path emptyWalPath = new Path(UTIL1.getDefaultRootDirPath(), walGroupId + "." + ts);<a name="line.177"></a>
+<span class="sourceLineNo">178</span> UTIL1.getTestFileSystem().create(emptyWalPath).close();<a name="line.178"></a>
+<span class="sourceLineNo">179</span> emptyWalPaths.add(emptyWalPath);<a name="line.179"></a>
+<span class="sourceLineNo">180</span> }<a name="line.180"></a>
+<span class="sourceLineNo">181</span><a name="line.181"></a>
+<span class="sourceLineNo">182</span> injectEmptyWAL(numRs, emptyWalPaths);<a name="line.182"></a>
+<span class="sourceLineNo">183</span> // There should be three WALs in queue<a name="line.183"></a>
+<span class="sourceLineNo">184</span> // 1. non empty WAL<a name="line.184"></a>
+<span class="sourceLineNo">185</span> // 2. empty WAL<a name="line.185"></a>
+<span class="sourceLineNo">186</span> // 3. live WAL<a name="line.186"></a>
+<span class="sourceLineNo">187</span> verifyNumberOfLogsInQueue(3, numRs);<a name="line.187"></a>
+<span class="sourceLineNo">188</span> hbaseAdmin.enableReplicationPeer(PEER_ID2);<a name="line.188"></a>
+<span class="sourceLineNo">189</span> // ReplicationSource should advance past the empty wal, or else the test will fail<a name="line.189"></a>
+<span class="sourceLineNo">190</span> waitForLogAdvance(numRs);<a name="line.190"></a>
+<span class="sourceLineNo">191</span><a name="line.191"></a>
+<span class="sourceLineNo">192</span> // Now we should expect numOfEntriesToReplicate entries<a name="line.192"></a>
+<span class="sourceLineNo">193</span> // replicated from each region server. This makes sure we didn't loose data<a name="line.193"></a>
+<span class="sourceLineNo">194</span> // from any previous batch when we encounter EOF exception for empty file.<a name="line.194"></a>
+<span class="sourceLineNo">195</span> Assert.assertEquals("Replicated entries are not correct", numOfEntriesToReplicate * numRs,<a name="line.195"></a>
+<span class="sourceLineNo">196</span> replicatedEntries.size());<a name="line.196"></a>
+<span class="sourceLineNo">197</span><a name="line.197"></a>
+<span class="sourceLineNo">198</span> // We expect just one batch of replication which will<a name="line.198"></a>
+<span class="sourceLineNo">199</span> // be from when we handle the EOF exception.<a name="line.199"></a>
+<span class="sourceLineNo">200</span> Assert.assertEquals("Replicated batches are not correct", 1, replicateCount.intValue());<a name="line.200"></a>
+<span class="sourceLineNo">201</span> verifyNumberOfLogsInQueue(1, numRs);<a name="line.201"></a>
+<span class="sourceLineNo">202</span> // we're now writing to the new wal<a name="line.202"></a>
+<span class="sourceLineNo">203</span> // if everything works, the source should've stopped reading from the empty wal, and start<a name="line.203"></a>
+<span class="sourceLineNo">204</span> // replicating from the new wal<a name="line.204"></a>
+<span class="sourceLineNo">205</span> runSimplePutDeleteTest();<a name="line.205"></a>
+<span class="sourceLineNo">206</span> rollWalsAndWaitForDeque(numRs);<a name="line.206"></a>
+<span class="sourceLineNo">207</span> }<a name="line.207"></a>
+<span class="sourceLineNo">208</span><a name="line.208"></a>
+<span class="sourceLineNo">209</span> /**<a name="line.209"></a>
+<span class="sourceLineNo">210</span> * Test empty WAL along with non empty WALs in the same batch. This test is to make sure when we<a name="line.210"></a>
+<span class="sourceLineNo">211</span> * see the empty WAL and handle the EOF exception, we are able to proceed with next batch and<a name="line.211"></a>
+<span class="sourceLineNo">212</span> * replicate it properly without missing data.<a name="line.212"></a>
+<span class="sourceLineNo">213</span> * @throws Exception throws any exception<a name="line.213"></a>
+<span class="sourceLineNo">214</span> */<a name="line.214"></a>
+<span class="sourceLineNo">215</span> @Test<a name="line.215"></a>
+<span class="sourceLineNo">216</span> public void testReplicationOfEmptyWALFollowedByNonEmptyWAL() throws Exception {<a name="line.216"></a>
+<span class="sourceLineNo">217</span> // Disable the replication peer to accumulate the non empty WAL followed by empty WAL<a name="line.217"></a>
+<span class="sourceLineNo">218</span> hbaseAdmin.disableReplicationPeer(PEER_ID2);<a name="line.218"></a>
+<span class="sourceLineNo">219</span> int numOfEntriesToReplicate = 20;<a name="line.219"></a>
+<span class="sourceLineNo">220</span><a name="line.220"></a>
+<span class="sourceLineNo">221</span> final int numRs = UTIL1.getHBaseCluster().getRegionServerThreads().size();<a name="line.221"></a>
+<span class="sourceLineNo">222</span> // for each RS, create an empty wal with same walGroupId<a name="line.222"></a>
+<span class="sourceLineNo">223</span> final List<Path> emptyWalPaths = new ArrayList<>();<a name="line.223"></a>
+<span class="sourceLineNo">224</span> long ts = EnvironmentEdgeManager.currentTime();<a name="line.224"></a>
+<span class="sourceLineNo">225</span> WAL wal = null;<a name="line.225"></a>
+<span class="sourceLineNo">226</span> for (int i = 0; i < numRs; i++) {<a name="line.226"></a>
+<span class="sourceLineNo">227</span> RegionInfo regionInfo =<a name="line.227"></a>
+<span class="sourceLineNo">228</span> UTIL1.getHBaseCluster().getRegions(tableName.getName()).get(0).getRegionInfo();<a name="line.228"></a>
+<span class="sourceLineNo">229</span> wal = UTIL1.getHBaseCluster().getRegionServer(i).getWAL(regionInfo);<a name="line.229"></a>
+<span class="sourceLineNo">230</span> Path currentWalPath = AbstractFSWALProvider.getCurrentFileName(wal);<a name="line.230"></a>
+<span class="sourceLineNo">231</span> appendEntriesToWal(numOfEntriesToReplicate, wal);<a name="line.231"></a>
+<span class="sourceLineNo">232</span> String walGroupId = AbstractFSWALProvider.getWALPrefixFromWALName(currentWalPath.getName());<a name="line.232"></a>
+<span class="sourceLineNo">233</span> Path emptyWalPath = new Path(UTIL1.getDataTestDir(), walGroupId + "." + ts);<a name="line.233"></a>
+<span class="sourceLineNo">234</span> UTIL1.getTestFileSystem().create(emptyWalPath).close();<a name="line.234"></a>
+<span class="sourceLineNo">235</span> emptyWalPaths.add(emptyWalPath);<a name="line.235"></a>
+<span class="sourceLineNo">236</span><a name="line.236"></a>
+<span class="sourceLineNo">237</span> }<a name="line.237"></a>
+<span class="sourceLineNo">238</span> injectEmptyWAL(numRs, emptyWalPaths);<a name="line.238"></a>
+<span class="sourceLineNo">239</span> // roll the WAL now<a name="line.239"></a>
+<span class="sourceLineNo">240</span> for (int i = 0; i < numRs; i++) {<a name="line.240"></a>
+<span class="sourceLineNo">241</span> wal.rollWriter();<a name="line.241"></a>
+<span class="sourceLineNo">242</span> }<a name="line.242"></a>
+<span class="sourceLineNo">243</span> hbaseAdmin.enableReplicationPeer(PEER_ID2);<a name="line.243"></a>
+<span class="sourceLineNo">244</span> // ReplicationSource should advance past the empty wal, or else the test will fail<a name="line.244"></a>
+<span class="sourceLineNo">245</span> waitForLogAdvance(numRs);<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span> // Now we should expect numOfEntriesToReplicate entries<a name="line.247"></a>
+<span class="sourceLineNo">248</span> // replicated from each region server. This makes sure we didn't loose data<a name="line.248"></a>
+<span class="sourceLineNo">249</span> // from any previous batch when we encounter EOF exception for empty file.<a name="line.249"></a>
+<span class="sourceLineNo">250</span> Assert.assertEquals("Replicated entries are not correct", numOfEntriesToReplicate * numRs,<a name="line.250"></a>
+<span class="sourceLineNo">251</span> replicatedEntries.size());<a name="line.251"></a>
+<span class="sourceLineNo">252</span><a name="line.252"></a>
+<span class="sourceLineNo">253</span> // We expect just one batch of replication to be shipped which will<a name="line.253"></a>
+<span class="sourceLineNo">254</span> // for non empty WAL<a name="line.254"></a>
+<span class="sourceLineNo">255</span> Assert.assertEquals("Replicated batches are not correct", 1, replicateCount.get());<a name="line.255"></a>
+<span class="sourceLineNo">256</span> verifyNumberOfLogsInQueue(1, numRs);<a name="line.256"></a>
+<span class="sourceLineNo">257</span> // we're now writing to the new wal<a name="line.257"></a>
+<span class="sourceLineNo">258</span> // if everything works, the source should've stopped reading from the empty wal, and start<a name="line.258"></a>
+<span class="sourceLineNo">259</span> // replicating from the new wal<a name="line.259"></a>
+<span class="sourceLineNo">260</span> runSimplePutDeleteTest();<a name="line.260"></a>
+<span class="sourceLineNo">261</span> rollWalsAndWaitForDeque(numRs);<a name="line.261"></a>
+<span class="sourceLineNo">262</span> }<a name="line.262"></a>
+<span class="sourceLineNo">263</span><a name="line.263"></a>
+<span class="sourceLineNo">264</span> /**<a name="line.264"></a>
+<span class="sourceLineNo">265</span> * This test make sure we replicate all the enties from the non empty WALs which are surrounding<a name="line.265"></a>
+<span class="sourceLineNo">266</span> * the empty WALs<a name="line.266"></a>
+<span class="sourceLineNo">267</span> * @throws Exception throws exception<a name="line.267"></a>
+<span class="sourceLineNo">268</span> */<a name="line.268"></a>
+<span class="sourceLineNo">269</span> @Test<a name="line.269"></a>
+<span class="sourceLineNo">270</span> public void testReplicationOfEmptyWALSurroundedNonEmptyWAL() throws Exception {<a name="line.270"></a>
+<span class="sourceLineNo">271</span> // Disable the replication peer to accumulate the non empty WAL followed by empty WAL<a name="line.271"></a>
+<span class="sourceLineNo">272</span> hbaseAdmin.disableReplicationPeer(PEER_ID2);<a name="line.272"></a>
+<span class="sourceLineNo">273</span> int numOfEntriesToReplicate = 20;<a name="line.273"></a>
+<span class="sourceLineNo">274</span><a name="line.274"></a>
+<span class="sourceLineNo">275</span> final int numRs = UTIL1.getHBaseCluster().getRegionServerThreads().size();<a name="line.275"></a>
+<span class="sourceLineNo">276</span> // for each RS, create an empty wal with same walGroupId<a name="line.276"></a>
+<span class="sourceLineNo">277</span> final List<Path> emptyWalPaths = new ArrayList<>();<a name="line.277"></a>
+<span class="sourceLineNo">278</span> long ts = EnvironmentEdgeManager.currentTime();<a name="line.278"></a>
+<span class="sourceLineNo">279</span> WAL wal = null;<a name="line.279"></a>
+<span class="sourceLineNo">280</span> for (int i = 0; i < numRs; i++) {<a name="line.280"></a>
+<span class="sourceLineNo">281</span> RegionInfo regionInfo =<a name="line.281"></a>
+<span class="sourceLineNo">282</span> UTIL1.getHBaseCluster().getRegions(tableName.getName()).get(0).getRegionInfo();<a name="line.282"></a>
+<span class="sourceLineNo">283</span> wal = UTIL1.getHBaseCluster().getRegionServer(i).getWAL(regionInfo);<a name="line.283"></a>
+<span class="sourceLineNo">284</span> Path currentWalPath = AbstractFSWALProvider.getCurrentFileName(wal);<a name="line.284"></a>
+<span class="sourceLineNo">285</span> appendEntriesToWal(numOfEntriesToReplicate, wal);<a name="line.285"></a>
+<span class="sourceLineNo">286</span> wal.rollWriter();<a name="line.286"></a>
+<span class="sourceLineNo">287</span> String walGroupId = AbstractFSWALProvider.getWALPrefixFromWALName(currentWalPath.getName());<a name="line.287"></a>
+<span class="sourceLineNo">288</span> Path emptyWalPath = new Path(UTIL1.getDataTestDir(), walGroupId + "." + ts);<a name="line.288"></a>
+<span class="sourceLineNo">289</span> UTIL1.getTestFileSystem().create(emptyWalPath).close();<a name="line.289"></a>
+<span class="sourceLineNo">290</span> emptyWalPaths.add(emptyWalPath);<a name="line.290"></a>
+<span class="sourceLineNo">291</span> }<a name="line.291"></a>
+<span class="sourceLineNo">292</span> injectEmptyWAL(numRs, emptyWalPaths);<a name="line.292"></a>
+<span class="sourceLineNo">293</span><a name="line.293"></a>
+<span class="sourceLineNo">294</span> // roll the WAL again with some entries<a name="line.294"></a>
+<span class="sourceLineNo">295</span> for (int i = 0; i < numRs; i++) {<a name="line.295"></a>
+<span class="sourceLineNo">296</span> appendEntriesToWal(numOfEntriesToReplicate, wal);<a name="line.296"></a>
+<span class="sourceLineNo">297</span> wal.rollWriter();<a name="line.297"></a>
+<span class="sourceLineNo">298</span> }<a name="line.298"></a>
+<span class="sourceLineNo">299</span><a name="line.299"></a>
+<span class="sourceLineNo">300</span> hbaseAdmin.enableReplicationPeer(PEER_ID2);<a name="line.300"></a>
+<span class="sourceLineNo">301</span> // ReplicationSource should advance past the empty wal, or else the test will fail<a name="line.301"></a>
+<span class="sourceLineNo">302</span> waitForLogAdvance(numRs);<a name="line.302"></a>
<span class="sourceLineNo">303</span><a name="line.303"></a>
-<span class="sourceLineNo">304</span> hbaseAdmin.enableReplicationPeer(PEER_ID2);<a name="line.304"></a>
-<span class="sourceLineNo">305</span> // ReplicationSource should advance past the empty wal, or else the test will fail<a name="line.305"></a>
-<span class="sourceLineNo">306</span> waitForLogAdvance(numRs);<a name="line.306"></a>
-<span class="sourceLineNo">307</span><a name="line.307"></a>
-<span class="sourceLineNo">308</span> // Now we should expect numOfEntriesToReplicate entries<a name="line.308"></a>
-<span class="sourceLineNo">309</span> // replicated from each region server. This makes sure we didn't loose data<a name="line.309"></a>
-<span class="sourceLineNo">310</span> // from any previous batch when we encounter EOF exception for empty file.<a name="line.310"></a>
-<span class="sourceLineNo">311</span> Assert.assertEquals("Replicated entries are not correct", numOfEntriesToReplicate * numRs * 2,<a name="line.311"></a>
-<span class="sourceLineNo">312</span> replicatedEntries.size());<a name="line.312"></a>
-<span class="sourceLineNo">313</span><a name="line.313"></a>
-<span class="sourceLineNo">314</span> // We expect two batch of replication to be shipped which will<a name="line.314"></a>
-<span class="sourceLineNo">315</span> // for non empty WAL<a name="line.315"></a>
-<span class="sourceLineNo">316</span> Assert.assertEquals("Replicated batches are not correct", 2, replicateCount.get());<a name="line.316"></a>
-<span class="sourceLineNo">317</span> verifyNumberOfLogsInQueue(1, numRs);<a name="line.317"></a>
-<span class="sourceLineNo">318</span> // we're now writing to the new wal<a name="line.318"></a>
-<span class="sourceLineNo">319</span> // if everything works, the source should've stopped reading from the empty wal, and start<a name="line.319"></a>
-<span class="sourceLineNo">320</span> // replicating from the new wal<a name="line.320"></a>
-<span class="sourceLineNo">321</span> runSimplePutDeleteTest();<a name="line.321"></a>
-<span class="sourceLineNo">322</span> rollWalsAndWaitForDeque(numRs);<a name="line.322"></a>
-<span class="sourceLineNo">323</span> }<a name="line.323"></a>
-<span class="sourceLineNo">324</span><a name="line.324"></a>
-<span class="sourceLineNo">325</span> // inject our empty wal into the replication queue, and then roll the original wal, which<a name="line.325"></a>
-<span class="sourceLineNo">326</span> // enqueues a new wal behind our empty wal. We must roll the wal here as now we use the WAL to<a name="line.326"></a>
-<span class="sourceLineNo">327</span> // determine if the file being replicated currently is still opened for write, so just inject a<a name="line.327"></a>
-<span class="sourceLineNo">328</span> // new wal to the replication queue does not mean the previous file is closed.<a name="line.328"></a>
-<span class="sourceLineNo">329</span> private void injectEmptyWAL(int numRs, List<Path> emptyWalPaths) throws IOException {<a name="line.329"></a>
-<span class="sourceLineNo">330</span> for (int i = 0; i < numRs; i++) {<a name="line.330"></a>
-<span class="sourceLineNo">331</span> HRegionServer hrs = UTIL1.getHBaseCluster().getRegionServer(i);<a name="line.331"></a>
-<span class="sourceLineNo">332</span> Replication replicationService = (Replication) hrs.getReplicationSourceService();<a name="line.332"></a>
-<span class="sourceLineNo">333</span> replicationService.getReplicationManager().preLogRoll(emptyWalPaths.get(i));<a name="line.333"></a>
-<span class="sourceLineNo">334</span> replicationService.getReplicationManager().postLogRoll(emptyWalPaths.get(i));<a name="line.334"></a>
-<span class="sourceLineNo">335</span> RegionInfo regionInfo =<a name="line.335"></a>
-<span class="sourceLineNo">336</span> UTIL1.getHBaseCluster().getRegions(htable1.getName()).get(0).getRegionInfo();<a name="line.336"></a>
-<span class="sourceLineNo">337</span> WAL wal = hrs.getWAL(regionInfo);<a name="line.337"></a>
-<span class="sourceLineNo">338</span> wal.rollWriter(true);<a name="line.338"></a>
-<span class="sourceLineNo">339</span> }<a name="line.339"></a>
+<span class="sourceLineNo">304</span> // Now we should expect numOfEntriesToReplicate entries<a name="line.304"></a>
+<span class="sourceLineNo">305</span> // replicated from each region server. This makes sure we didn't loose data<a name="line.305"></a>
+<span class="sourceLineNo">306</span> // from any previous batch when we encounter EOF exception for empty file.<a name="line.306"></a>
+<span class="sourceLineNo">307</span> Assert.assertEquals("Replicated entries are not correct", numOfEntriesToReplicate * numRs * 2,<a name="line.307"></a>
+<span class="sourceLineNo">308</span> replicatedEntries.size());<a name="line.308"></a>
+<span class="sourceLineNo">309</span><a name="line.309"></a>
+<span class="sourceLineNo">310</span> // We expect two batch of replication to be shipped which will<a name="line.310"></a>
+<span class="sourceLineNo">311</span> // for non empty WAL<a name="line.311"></a>
+<span class="sourceLineNo">312</span> Assert.assertEquals("Replicated batches are not correct", 2, replicateCount.get());<a name="line.312"></a>
+<span class="sourceLineNo">313</span> verifyNumberOfLogsInQueue(1, numRs);<a name="line.313"></a>
+<span class="sourceLineNo">314</span> // we're now writing to the new wal<a name="line.314"></a>
+<span class="sourceLineNo">315</span> // if everything works, the source should've stopped reading from the empty wal, and start<a name="line.315"></a>
+<span class="sourceLineNo">316</span> // replicating from the new wal<a name="line.316"></a>
+<span class="sourceLineNo">317</span> runSimplePutDeleteTest();<a name="line.317"></a>
+<span class="sourceLineNo">318</span> rollWalsAndWaitForDeque(numRs);<a name="line.318"></a>
+<span class="sourceLineNo">319</span> }<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span> // inject our empty wal into the replication queue, and then roll the original wal, which<a name="line.321"></a>
+<span class="sourceLineNo">322</span> // enqueues a new wal behind our empty wal. We must roll the wal here as now we use the WAL to<a name="line.322"></a>
+<span class="sourceLineNo">323</span> // determine if the file being replicated currently is still opened for write, so just inject a<a name="line.323"></a>
+<span class="sourceLineNo">324</span> // new wal to the replication queue does not mean the previous file is closed.<a name="line.324"></a>
+<span class="sourceLineNo">325</span> private void injectEmptyWAL(int numRs, List<Path> emptyWalPaths) throws IOException {<a name="line.325"></a>
+<span class="sourceLineNo">326</span> for (int i = 0; i < numRs; i++) {<a name="line.326"></a>
+<span class="sourceLineNo">327</span> HRegionServer hrs = UTIL1.getHBaseCluster().getRegionServer(i);<a name="line.327"></a>
+<span class="sourceLineNo">328</span> Replication replicationService = (Replication) hrs.getReplicationSourceService();<a name="line.328"></a>
+<span class="sourceLineNo">329</span> replicationService.getReplicationManager().preLogRoll(emptyWalPaths.get(i));<a name="line.329"></a>
+<span class="sourceLineNo">330</span> replicationService.getReplicationManager().postLogRoll(emptyWalPaths.get(i));<a name="line.330"></a>
+<span class="sourceLineNo">331</span> RegionInfo regionInfo =<a name="line.331"></a>
+<span class="sourceLineNo">332</span> UTIL1.getHBaseCluster().getRegions(htable1.getName()).get(0).getRegionInfo();<a name="line.332"></a>
+<span class="sourceLineNo">333</span> WAL wal = hrs.getWAL(regionInfo);<a name="line.333"></a>
+<span class="sourceLineNo">334</span> wal.rollWriter(true);<a name="line.334"></a>
+<span class="sourceLineNo">335</span> }<a name="line.335"></a>
+<span class="sourceLineNo">336</span> }<a name="line.336"></a>
+<span class="sourceLineNo">337</span><a name="line.337"></a>
+<span class="sourceLineNo">338</span> protected WALKeyImpl getWalKeyImpl() {<a name="line.338"></a>
+<span class="sourceLineNo">339</span> return new WALKeyImpl(info.getEncodedNameAsBytes(), tableName, 0, mvcc, scopes);<a name="line.339"></a>
<span class="sourceLineNo">340</span> }<a name="line.340"></a>
<span class="sourceLineNo">341</span><a name="line.341"></a>
-<span class="sourceLineNo">342</span> protected WALKeyImpl getWalKeyImpl() {<a name="line.342"></a>
-<span class="sourceLineNo">343</span> return new WALKeyImpl(info.getEncodedNameAsBytes(), tableName, 0, mvcc, scopes);<a name="line.343"></a>
-<span class="sourceLineNo">344</span> }<a name="line.344"></a>
-<span class="sourceLineNo">345</span><a name="line.345"></a>
-<span class="sourceLineNo">346</span> // Roll the WAL and wait for it to get deque from the log queue<a name="line.346"></a>
-<span class="sourceLineNo">347</span> private void rollWalsAndWaitForDeque(int numRs) throws IOException {<a name="line.347"></a>
-<span class="sourceLineNo">348</span> RegionInfo regionInfo =<a name="line.348"></a>
-<span class="sourceLineNo">349</span> UTIL1.getHBaseCluster().getRegions(tableName.getName()).get(0).getRegionInfo();<a name="line.349"></a>
-<span class="sourceLineNo">350</span> for (int i = 0; i < numRs; i++) {<a name="line.350"></a>
-<span class="sourceLineNo">351</span> WAL wal = UTIL1.getHBaseCluster().getRegionServer(i).getWAL(regionInfo);<a name="line.351"></a>
-<span class="sourceLineNo">352</span> wal.rollWriter();<a name="line.352"></a>
-<span class="sourceLineNo">353</span> }<a name="line.353"></a>
-<span class="sourceLineNo">354</span> waitForLogAdvance(numRs);<a name="line.354"></a>
-<span class="sourceLineNo">355</span> }<a name="line.355"></a>
-<span class="sourceLineNo">356</span><a name="line.356"></a>
-<span class="sourceLineNo">357</span> private void appendEntriesToWal(int numEntries, WAL wal) throws IOException {<a name="line.357"></a>
-<span class="sourceLineNo">358</span> long txId = -1;<a name="line.358"></a>
-<span class="sourceLineNo">359</span> for (int i = 0; i < numEntries; i++) {<a name="line.359"></a>
-<span class="sourceLineNo">360</span> byte[] b = Bytes.toBytes(Integer.toString(i));<a name="line.360"></a>
-<span class="sourceLineNo">361</span> KeyValue kv = new KeyValue(b, famName, b);<a name="line.361"></a>
-<span class="sourceLineNo">362</span> WALEdit edit = new WALEdit();<a name="line.362"></a>
-<span class="sourceLineNo">363</span> edit.add(kv);<a name="line.363"></a>
-<span class="sourceLineNo">364</span> txId = wal.appendData(info, getWalKeyImpl(), edit);<a name="line.364"></a>
-<span class="sourceLineNo">365</span> }<a name="line.365"></a>
-<span class="sourceLineNo">366</span> wal.sync(txId);<a name="line.366"></a>
-<span class="sourceLineNo">367</span> }<a name="line.367"></a>
-<span class="sourceLineNo">368</span>}<a name="line.368"></a>
+<span class="sourceLineNo">342</span> // Roll the WAL and wait for it to get deque from the log queue<a name="line.342"></a>
+<span class="sourceLineNo">343</span> private void rollWalsAndWaitForDeque(int numRs) throws IOException {<a name="line.343"></a>
+<span class="sourceLineNo">344</span> RegionInfo regionInfo =<a name="line.344"></a>
+<span class="sourceLineNo">345</span> UTIL1.getHBaseCluster().getRegions(tableName.getName()).get(0).getRegionInfo();<a name="line.345"></a>
+<span class="sourceLineNo">346</span> for (int i = 0; i < numRs; i++) {<a name="line.346"></a>
+<span class="sourceLineNo">347</span> WAL wal = UTIL1.getHBaseCluster().getRegionServer(i).getWAL(regionInfo);<a name="line.347"></a>
+<span class="sourceLineNo">348</span> wal.rollWriter();<a name="line.348"></a>
+<span class="sourceLineNo">349</span> }<a name="line.349"></a>
+<span class="sourceLineNo">350</span> waitForLogAdvance(numRs);<a name="line.350"></a>
+<span class="sourceLineNo">351</span> }<a name="line.351"></a>
+<span class="sourceLineNo">352</span><a name="line.352"></a>
+<span class="sourceLineNo">353</span> private void appendEntriesToWal(int numEntries, WAL wal) throws IOException {<a name="line.353"></a>
+<span class="sourceLineNo">354</span> long txId = -1;<a name="line.354"></a>
+<span class="sourceLineNo">355</span> for (int i = 0; i < numEntries; i++) {<a name="line.355"></a>
+<span class="sourceLineNo">356</span> byte[] b = Bytes.toBytes(Integer.toString(i));<a name="line.356"></a>
+<span class="sourceLineNo">357</span> KeyValue kv = new KeyValue(b, famName, b);<a name="line.357"></a>
+<span class="sourceLineNo">358</span> WALEdit edit = new WALEdit();<a name="line.358"></a>
+<span class="sourceLineNo">359</span> edit.add(kv);<a name="line.359"></a>
+<span class="sourceLineNo">360</span> txId = wal.appendData(info, getWalKeyImpl(), edit);<a name="line.360"></a>
+<span class="sourceLineNo">361</span> }<a name="line.361"></a>
+<span class="sourceLineNo">362</span> wal.sync(txId);<a name="line.362"></a>
+<span class="sourceLineNo">363</span> }<a name="line.363"></a>
+<span class="sourceLineNo">364</span>}<a name="line.364"></a>