-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[WIP] Delete external storage cache after deletion #11544
Conversation
|
Depends on #11545 to properly clear the file cache. |
|
cd0ec08
to
0fd0e02
Compare
Rebased onto master to get the changes from #11694 |
Fix for #10820 |
@DeepDiver1975 setting this to OC 8.1. Now that @icewind1991 brought the "stabler" ext storage ids, it might be possible to rename/delete more safely now |
The new "storage_id" is a cool addition, but won't be usable realiable until we fix the endpoints to also work with storage ids. Raised here: #14058 |
0fd0e02
to
cfdf035
Compare
The inspection completed: 3 new issues, 1 updated code elements |
Refer to this link for build results (access rights to CI server needed): |
I have two questions:
|
|
|
#11830 Redesign/revamp oc_storages to fix various issues |
Refer to this link for build results (access rights to CI server needed): |
Since we still have the storage ids and no proper "mount config to storage id" mapping, we can't reliably delete storage caches. Deferring to 9.0 CC @Xenopathic |
The underlying code has changed, need to use a different (and hopefully better) approach |
@PVince81 Is this done yet? |
@enoch85 this is done only for the cases where it is technically possible: as long as you don't use the |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🚧 DO NOT MERGE 🚫
Delete external storage cache entries after deletion.
One issue is that it requires the configuration to be valid. Only with a valid config the Storage instance can be initialized, and only a properly initialized instance will be able to deliver the storage ID that is needed for deletion...
Needs further work.
@icewind1991