Copilot commented on code in PR #7261:
URL: https://github.com/apache/hbase/pull/7261#discussion_r2314800312
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSAnnotationReadingPriorityFunction.java:
##########
@@ -46,14 +46,18 @@
* Priority function specifically for the region server.
*/
@InterfaceAudience.Private
-class RSAnnotationReadingPriorityFunction extends
AnnotationReadingPriorityFunction<RSRpcServices> {
+public class RSAnnotationReadingPriorityFunction
+ extends AnnotationReadingPriorityFunction<RSRpcServices> {
private static final Logger LOG =
LoggerFactory.getLogger(RSAnnotationReadingPriorityFunction.class);
/** Used to control the scan delay, currently sqrt(numNextCall * weight) */
public static final String SCAN_VTIME_WEIGHT_CONF_KEY =
"hbase.ipc.server.scan.vtime.weight";
+ // QOS for internal meta read requests
+ public static int INTERNAL_READ_QOS = 250;
Review Comment:
The `INTERNAL_READ_QOS` field should be declared as `final` since it
represents a constant value that should not be modified after initialization.
```suggestion
public static final int INTERNAL_READ_QOS = 250;
```
--
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]