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


##########
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:
   Ok, so answer for my question above is 
[here](https://github.com/apache/hbase/pull/6532/files#diff-35e5384a3d8da9cab3138b1f1411d43bed05856e2b8951f1c4c195049503486fR54).



-- 
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