priyeshkaratha commented on code in PR #11181:
URL: https://github.com/apache/ozone/pull/11181#discussion_r3954269420
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/tasks/MultipartInfoInsightHandler.java:
##########
@@ -114,7 +120,8 @@ public void handleDeleteEvent(OMDBUpdateEvent<String,
Object> event, String tabl
*/
@Override
public void handleUpdateEvent(OMDBUpdateEvent<String, Object> event, String
tableName,
Review Comment:
MultipartInfoInsightHandler now accounts split-schema part sizes
incrementally from multipartPartsTable PUT/UPDATE/DELETE events directly
(handlePartPutEvent/handlePartDeleteEvent/handlePartUpdateEvent), instead of
the old method that added and subtracted the same totals. A bounded LRU cache
(splitSchemaUploadReplicationConfig, capped at 10k) holds each upload's
replication config that populated from multipartInfoTable PUT/UPDATE events
since OmMultipartPartInfo has no replication config of its own and OM
guarantees multipartInfoTable writes precede multipartPartsTable writes in the
same batch.
--
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]