ChenSammi commented on code in PR #5089:
URL: https://github.com/apache/ozone/pull/5089#discussion_r1282631760
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/authority/CertificateStore.java:
##########
@@ -106,6 +106,13 @@ Optional<Long> revokeCertificates(List<BigInteger>
serialIDs,
*/
void removeExpiredCertificate(BigInteger serialID) throws IOException;
+ /**
+ * Deletes all non-revoked expired certificates from the store.
+ *
+ * @throws IOException
+ */
+ void removeAllExpiredCertificates();
Review Comment:
This need go through ratis. All APIs go through ratis requires annotation
"@Replicate".
--
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]