Apache9 commented on code in PR #5142:
URL: https://github.com/apache/hbase/pull/5142#discussion_r1180494478
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/throttle/StoreHotnessProtector.java:
##########
@@ -118,7 +119,12 @@ private static void logDisabledMessageOnce() {
}
public void update(Configuration conf) {
- init(conf);
+ // Add table descriptor configuration
+ CompoundConfiguration newconf = new CompoundConfiguration().add(conf);
+ if (this.region != null) {
+ newconf.addBytesMap(this.region.getTableDescriptor().getValues());
+ }
+ init(newconf);
Review Comment:
Will we call the init method from other places? Do we also use a
CompoundConfiguration there?
--
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]