Skip to content

HDDS-6971. EC: Add EC block checksum computer.#3790

Merged
umamaheswararao merged 8 commits intoapache:masterfrom
aswinshakil:HDDS-6971
Nov 16, 2022
Merged

HDDS-6971. EC: Add EC block checksum computer.#3790
umamaheswararao merged 8 commits intoapache:masterfrom
aswinshakil:HDDS-6971

Conversation

@aswinshakil
Copy link
Member

@aswinshakil aswinshakil commented Sep 30, 2022

What changes were proposed in this pull request?

EC keys do not have a way to provide checksum for getFileChecksum API. This JIRA provides an implementation for EC Checksum which can also be used for Data Integrity check later.

What is the link to the Apache JIRA

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

TODO

  • Add MD5 Checksum
  • EC Coordinator fixes for generating checksum
  • Additional Unit and Integration Test

How was this patch tested?

This patch was tested manually and using integration tests.

@aswinshakil aswinshakil marked this pull request as draft September 30, 2022 17:52
@aswinshakil aswinshakil marked this pull request as ready for review October 8, 2022 00:14
@kerneltime
Copy link
Contributor

@duongkame

Copy link
Contributor

@umamaheswararao umamaheswararao left a comment

Choose a reason for hiding this comment

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

@aswinshakil thank you for working on this patch. I have reviewed this patch, please find my initial comments on this patch.

@umamaheswararao
Copy link
Contributor

Mostly changes looks ok to me. @jojochuang could you please take a final look? Thanks

Copy link
Contributor

@jojochuang jojochuang left a comment

Choose a reason for hiding this comment

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

Overall looks good. A few suggestions for future improvements.

@umamaheswararao
Copy link
Contributor

Thanks @aswinshakil for working on this.
LGTM. Pending CI and pending @jojochuang final confirmation on his comments.

Could you also file doc JIRA for updating the docs with EC constraints? Ex: what is comparable between EC and Ratis and HDFS etc.

@aswinshakil
Copy link
Member Author

Created DOC JIRA HDDS-7491 for EC FileChecksum

@umamaheswararao umamaheswararao merged commit 8518ed1 into apache:master Nov 16, 2022
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