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

jib cache metadata-v2.json seems to grow without bound #721

Closed
briandealwis opened this issue Jul 26, 2018 · 2 comments
Closed

jib cache metadata-v2.json seems to grow without bound #721

briandealwis opened this issue Jul 26, 2018 · 2 comments
Assignees
Milestone

Comments

@briandealwis
Copy link
Member

$ cd ~/Library/Application\ Support/google-cloud-tools-java/jib

$ ls -1 *.tar.gz | wc -l
      15

$ jq '.layers[].reference.digest' metadata-v2.json | wc -l
313

$ jq '.layers[].reference.digest' metadata-v2.json | sort -u | wc -l
13
@coollog coollog added this to the v0.9.8 milestone Jul 26, 2018
@coollog
Copy link
Contributor

coollog commented Jul 26, 2018

Ah nice catch! Looks like we might have a bug in our cache writing system that is not detecting previous entries that are the same.

@chanseokoh
Copy link
Member

Fortunately looks like it's just the JSON entries that we missed de-duplication. The TAR files are unique.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants