Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Object Hash to S3Store #427

Merged
merged 5 commits into from
Apr 16, 2021
Merged

Add Object Hash to S3Store #427

merged 5 commits into from
Apr 16, 2021

Conversation

jmmshn
Copy link
Contributor

@jmmshn jmmshn commented Apr 12, 2021

hash the data after compression, before insertion.
Then store the hash

added a basic index store reconstruction algorithm.

@codecov
Copy link

codecov bot commented Apr 13, 2021

Codecov Report

Merging #427 (1ef87f1) into main (672c6ae) will decrease coverage by 0.05%.
The diff coverage is 95.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #427      +/-   ##
==========================================
- Coverage   86.96%   86.90%   -0.06%     
==========================================
  Files          28       28              
  Lines        2225     2238      +13     
==========================================
+ Hits         1935     1945      +10     
- Misses        290      293       +3     
Impacted Files Coverage Δ
src/maggma/stores/aws.py 87.30% <95.00%> (+2.07%) ⬆️
src/maggma/stores/mongolike.py 82.12% <0.00%> (-1.91%) ⬇️
src/maggma/core/drone.py 92.42% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 672c6ae...1ef87f1. Read the comment docs.

@jmmshn
Copy link
Contributor Author

jmmshn commented Apr 16, 2021

@shyamd I think this is ready to merge

@shyamd shyamd changed the title added hash Add Object Hash to S3Store Apr 16, 2021
@shyamd shyamd merged commit fcf1ed9 into materialsproject:main Apr 16, 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.

2 participants