xichen01 commented on code in PR #10946:
URL: https://github.com/apache/ozone/pull/10946#discussion_r3777472649
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java:
##########
@@ -197,6 +200,8 @@ public List<AllocatedBlock> allocateBlock(
auditMap.put("replication", replicationConfig.toString());
auditMap.put("owner", owner);
auditMap.put("client", clientMachine);
+ auditMap.put("storagePolicy", storagePolicy.toString());
+ auditMap.put("allowFallbackStoragePolicy",
String.valueOf(allowFallbackStoragePolicy));
Review Comment:
Added audit log for `fallbackBlock`
We can add the metrics in a separate commit later; there are many metrics
that need to be added to the current storage policy.
--
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]