aryangupta1998 commented on code in PR #8757:
URL: https://github.com/apache/ozone/pull/8757#discussion_r2195188788
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyPurging.java:
##########
@@ -74,6 +76,11 @@ public void setup() throws Exception {
client = OzoneClientFactory.getRpcClient(conf);
store = client.getObjectStore();
om = cluster.getOzoneManager();
+ int limit = (int) conf.getStorageSize(
+ OMConfigKeys.OZONE_OM_RATIS_LOG_APPENDER_QUEUE_BYTE_LIMIT,
+ OMConfigKeys.OZONE_OM_RATIS_LOG_APPENDER_QUEUE_BYTE_LIMIT_DEFAULT,
+ StorageUnit.BYTES);
+ ratisLimit = (int) (limit * 0.9);
Review Comment:
I feel maybe we can add a constant for 0.9 something as RATIS_LIMIT_FACTOR,
we can control the ratis limit by changing the value of
OZONE_OM_RATIS_LOG_APPENDER_QUEUE_BYTE_LIMIT.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]