-
-
Notifications
You must be signed in to change notification settings - Fork 945
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
[ticket/15699] Move files between storages when configuration is changed #5270
Conversation
Looks good (i only reviewed the last commit) even if I find it a bit sad to have SQL requests like that in many different place. Maybe later we could rework that in order to centralize the SQL requests |
I don't understand what you mean with having the sql query in a diferent place. |
9067a83
to
bcfba03
Compare
phpBB/includes/acp/acp_storage.php
Outdated
$options[$definition] = $this->get_current_definition($storage_name, $definition); | ||
} | ||
|
||
$adapter->configure($options); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably i will need to add here in the future
$adapter->set_storage($storage_name);
67ccede
to
e082a74
Compare
Still WIP now #4933 has been merged? |
Yes, i think files should be moved with ajax or something in steps, because only with a few files will be timeout |
I'am voting for the search index code. It's old and working great. |
So i save a list with all files and the index as the state? |
No sorry, not a good idea. I miss that you add a own storage table. Use it from low to high like the search index creator. You should only save the current ID as state. |
921d038
to
4b00c5c
Compare
This is done. |
35f5a76
to
d791406
Compare
nice |
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
…bility PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699 Co-authored-by: Marc Alexander <admin@m-a-styles.de>
PHPBB3-15699
PHPBB3-15699
PHPBB3-15699
Checklist:
Depends on #6533
Tracker ticket (set the ticket ID to your ticket ID):
https://tracker.phpbb.com/browse/PHPBB3-15699