-
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] Add foreign keys to filecache, share #28529
Conversation
Ok well, turns out we likely can't use "-1" as parent, so would require "NULL" instead. |
Fixed, ownCloud seems to work as far as I quickly tested. It feels so good to be able to delete a parent entry in oc_filecache and see all children go directly... No need for expensive sub-selects. These foreign keys will however break a few things that need adjsting (on the top of my mind):
Now let's see how many of the unit/integration tests will fail... |
Next up:
|
|
10.0.3 or later? |
Too dangerous for 10.0.3. I'd see we can try with 11... Will need a lot of testing. |
The challenge I see is that many people might have broken filecache entries that we need to repair, so we might need to have #28253 run first. Maybe we'll need more repair steps to delete orphaned items, etc before we can add keys. |
and:
|
|
to be redone step by step: not all tables at once |
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. |
Just for fun...
Fixes #13143.
Setting up the DB works but as soon as you try accessing the filesystem 💥
@DeepDiver1975 @butonic @tomneedham