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

cache should do some more checking for resource breaks on tree PUT #15

Open
sanoel opened this issue Feb 13, 2020 · 2 comments
Open

cache should do some more checking for resource breaks on tree PUT #15

sanoel opened this issue Feb 13, 2020 · 2 comments

Comments

@sanoel
Copy link
Contributor

sanoel commented Feb 13, 2020

E.g., I'm writing an import script. I delete the tree while I am fixing things, and following up with a rerun of my import (i.e., tree PUT) creates the structure on the server without any resource breaks because the cache thinks all of those resources already exist. I think this may also be a good first use case for thinking through how to fix mismatched trees.

@tomohiroarakawa
Copy link
Member

I had the same issue before. I believe addressing #5 will fix this issue as well because _ensureTree() internally calls get() to check if the tree exists

@aultac
Copy link
Member

aultac commented Feb 13, 2020 via email

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

No branches or pull requests

3 participants