Apache9 commented on a change in pull request #3468: URL: https://github.com/apache/hbase/pull/3468#discussion_r689411278
########## File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java ########## @@ -344,14 +345,29 @@ private StoreContext initializeStoreContext(ColumnFamilyDescriptor family) throw } private InetSocketAddress[] getFavoredNodes() { - InetSocketAddress[] favoredNodes = null; if (region.getRegionServerServices() != null) { - favoredNodes = region.getRegionServerServices().getFavoredNodesForRegion( - region.getRegionInfo().getEncodedName()); + return region.getRegionServerServices() Review comment: So this means, if on a region server, we will get the favored nodes from region server, otherwise, use the one set by compaction server? -- 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: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org