lpavanvenkat commented on code in PR #11685:
URL: https://github.com/apache/ozone/pull/11685#discussion_r4583803724
##########
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:
Recon stores the open key totals and updates them from OM DB deltas. With
this change, multipart open keys are skipped on both PUT and DELETE events. So
keys counted by the old version would never be subtracted when their uploads
complete or abort, and the count would stay too high. The upgrade action
recomputes the totals once on upgrade with the new rule.
--
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]