sumitagrawl commented on code in PR #11685:
URL: https://github.com/apache/ozone/pull/11685#discussion_r4583713246
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/tasks/MultipartInfoInsightHandler.java:
##########
@@ -129,6 +130,7 @@ public void handleDeleteEvent(OMDBUpdateEvent<String,
Object> event, String tabl
objectCountMap.computeIfPresent(getTableCountKeyFromTable(tableName),
(k, count) -> count > 0 ? count - 1L : 0L);
applyLegacyPartSizes(multipartKeyInfo, tableName, unReplicatedSizeMap,
replicatedSizeMap, false);
+ cacheSplitSchemaReplicationConfig(multipartKeyInfo);
Review Comment:
why need cache uploadId vs RepConfig ?
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/upgrade/ReconVersion.java:
##########
@@ -44,6 +44,7 @@ public enum ReconVersion implements ComponentVersion {
UNHEALTHY_CONTAINERS_STATE_CONTAINER_ID_INDEX(5,
"Adds idx_state_container_id index on UNHEALTHY_CONTAINERS for
upgrades"),
REPLICA_HISTORY_DB(6, "Stores container replica history in separate
recon-container-replica-history.db"),
+ OPEN_KEYS_EXCLUDE_MULTIPART_UPLOADS(7, "Excludes multipart open keys from
open key counts and sizes"),
Review Comment:
why do we need upgrade action and calculate all information again from db ?
--
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]