Skip to content

HDDS-4842. Add timestamp to Revoked Certs table in SCM DB#2145

Merged
xiaoyuyao merged 3 commits intoapache:masterfrom
vivekratnavel:HDDS-4842
Apr 13, 2021
Merged

HDDS-4842. Add timestamp to Revoked Certs table in SCM DB#2145
xiaoyuyao merged 3 commits intoapache:masterfrom
vivekratnavel:HDDS-4842

Conversation

@vivekratnavel
Copy link
Contributor

@vivekratnavel vivekratnavel commented Apr 10, 2021

What changes were proposed in this pull request?

Add timestamp to REVOKED_CERTS table in SCM db.

Instead of modifying the definition of the existing column family, this patch introduces a new column family to make it easier for the finalize upgrade action to support upgrades from older versions.

The changes required to make it backward compatible is tracked here - https://issues.apache.org/jira/browse/HDDS-5088
The changes required to make the persistence happen via Ratis is tracked here - https://issues.apache.org/jira/browse/HDDS-5095

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-4842

How was this patch tested?

Unit tests

@vivekratnavel vivekratnavel requested a review from xiaoyuyao April 10, 2021 01:28
Copy link
Contributor

@xiaoyuyao xiaoyuyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vivekratnavel for working on this. The patch LGTM overall. A few comments added inline...

@xiaoyuyao
Copy link
Contributor

@vivekratnavel TestSCMCertStore.testRevokeCertificates failure seems related.

@xiaoyuyao
Copy link
Contributor

Thanks @vivekratnavel for the update. LGTM, +1. I will merge it shortly,.

@xiaoyuyao xiaoyuyao merged commit 5bebe62 into apache:master Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants