wchevreuil commented on code in PR #8218:
URL: https://github.com/apache/hbase/pull/8218#discussion_r3224984974
##########
hbase-client/src/main/java/org/apache/hadoop/hbase/ServerMetrics.java:
##########
@@ -106,4 +107,21 @@ default String getVersion() {
* rounded to MB
*/
Map<String, Integer> getRegionCachedInfo();
+
+ /**
+ * The available cache space on this region server (bytes), if reported in
the server load.
+ */
+ default long getCacheFreeSize() {
Review Comment:
Yeah, since there would be no mean to determine the free cache space on
those, it would exclude those as potential candidates, reducing the odds of
finding a better assignment plan, so it may perform less moves, or worst case,
no moves at all.
--
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]