This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Clearing cache on a volume doesn't clear the source #770
Labels
bug
Something isn't working
Comments
MikaelSmith
added a commit
to MikaelSmith/wash
that referenced
this issue
Apr 14, 2020
Helps identify that puppetlabs-toy-chest#770 impacts writing volumes. Signed-off-by: Michael Smith <michael.smith@puppet.com>
MikaelSmith
added a commit
to MikaelSmith/wash
that referenced
this issue
Apr 15, 2020
Helps identify that puppetlabs-toy-chest#770 impacts writing volumes. Signed-off-by: Michael Smith <michael.smith@puppet.com>
MikaelSmith
added a commit
to MikaelSmith/wash
that referenced
this issue
Apr 15, 2020
If an entry is Prefetched, it's parent may not have a List entry but it may have originated from an earlier ancestor. If there's an immediate parent that listed the entry still clear it, but if not search for an ancestor that prefetched child entries and clear that instead. Fixes puppetlabs-toy-chest#770. Signed-off-by: Michael Smith <michael.smith@puppet.com>
MikaelSmith
added a commit
to MikaelSmith/wash
that referenced
this issue
Apr 15, 2020
If an entry is Prefetched, it's parent may not have a cached List entry but it may have originated from an earlier ancestor. If there's an immediate parent that listed the entry still clear it, but if not search for an ancestor that prefetched child entries and clear that instead. Fixes puppetlabs-toy-chest#770. Signed-off-by: Michael Smith <michael.smith@puppet.com>
MikaelSmith
added a commit
to MikaelSmith/wash
that referenced
this issue
Apr 16, 2020
If an entry is Prefetched, it's parent may not have a cached List entry but it may have originated from an earlier ancestor. If there's an immediate parent that listed the entry still clear it, but if not search for a source ancestor clear that instead. Fixes puppetlabs-toy-chest#770. Signed-off-by: Michael Smith <michael.smith@puppet.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Setup is to run a Docker container and use Wash to navigate to some point in its filesystem. Depending on where you are, running
wclear .
doesn't actually clear cached data.whistory
output is the clearest way to demonstrate that.The 2nd line of output shows nothing was deleted from the cache.
Running the same thing against the parent directory, the
fs
entry is deleted from the cache.This appears to happen because
wclear
clears any cache items related to the entry and its parent. However thefs/usr/local
entry itself is derived from thefs
entry and there are no actual cache entries that contain it or its parent.The text was updated successfully, but these errors were encountered: