ashishkumar50 commented on code in PR #5661:
URL: https://github.com/apache/ozone/pull/5661#discussion_r1446857960
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/BlockManagerImpl.java:
##########
@@ -103,6 +108,15 @@ public long putBlock(Container container, BlockData data,
public static long persistPutBlock(KeyValueContainer container,
BlockData data, ConfigurationSource config, boolean endOfBlock)
throws IOException {
+ boolean incrementalEnabled =
+ config.getBoolean(OZONE_CHUNK_LIST_INCREMENTAL,
+ OZONE_CHUNK_LIST_INCREMENTAL_DEFAULT);
Review Comment:
Getting OZONE_CHUNK_LIST_INCREMENTAL can move to BlockManagerImpl
constructor to avoid reading in every putBlock call.
--
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]