wchevreuil commented on code in PR #6532:
URL: https://github.com/apache/hbase/pull/6532#discussion_r1879932760


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:
##########
@@ -2165,13 +2167,27 @@ public List<WAL> getWALs() {
 
   @Override
   public WAL getWAL(RegionInfo regionInfo) throws IOException {
-    WAL wal = walFactory.getWAL(regionInfo);
+    WAL wal = regionBelongsToReplicatedTable(regionInfo) ?
+      walFactory.getWALInGlobalScope(regionInfo) : 
walFactory.getWAL(regionInfo);

Review Comment:
   I guess this does the trick of separating replicable/non-replicable data in 
different wal files. Mind explain how the replication source reader gets only 
the wal with replicable data?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to