java-datastore: LocalDatastoreHelper is downloading datastore emulator zip every time even when file exists
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 65/100
Research direction
Start in java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/testing/LocalDatastoreHelper.java, then compare the checksum passed to BaseEmulatorHelper.java with the documented MD5. Done means the checksum matches 7c1f5a3276241a8f78cb1a837daaaa47 and an existing emulator zip is not downloaded again.
Written by the indexing model from the issue text.
Description
When the LocalDatastoreHelper is started with .start() API it is downloading a 36mb zip file from http://storage.googleapis.com/gcd/tools/cloud-datastore-emulator-2.3.1.zip every time even if file already exist locally.
This is due to checksum mismatch at:
The checksum value that LocalDatastoreHelper is passing down is not correct:
The actual file checksum is 7c1f5a3276241a8f78cb1a837daaaa47:
> curl http://storage.googleapis.com/gcd/tools/cloud-datastore-emulator-2.3.1.
zip | md5sum
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 36.1M 100 36.1M 0 0 8831k 0 0:00:04 0:00:04 --:--:-- 8833k
7c1f5a3276241a8f78cb1a837daaaa47 -
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 151
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googleapis/google-cloud-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
googleapis/google-cloud-java#14132 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/google-cloud-java#14025 ·
-
priority: p2 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/google-cloud-java#13255 · 2 comments ·
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/google-cloud-java#13032 ·
-
priority: p3 type: feature request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
googleapis/google-cloud-java#12071 ·
All issues in googleapis/google-cloud-java
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
inu-appcenter/memorIN-backend#288 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
frontend maui-pilot pilot-ask question
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
area/plugin
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
kestra-io/plugin-kestra#190 ·