Uh oh!
There was an error while loading. Please reload this page.
fix: Delete inactive sessions in one query - #4339
Conversation
Passing run #10776 ↗︎Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. | |||||||||||||||
6488bbf to
cf3109eComparejuliusknorr
commented
Jun 21, 2023
Sqlite somehow fails, but only on CI 🙈
/home/runner/actions-runner/_work/text/text/apps/text/tests/unit/Db/SessionMapperTest.php:97 |
ad9b0ca to
6817892CompareUh oh!
There was an error while loading. Please reload this page.
e81d694 to
163b07aComparejuliusknorr
commented
Jun 29, 2023
Let me split this to have only the query change as a backportable fix, as mentioned above the index could be considered a separate enhancement |
163b07a to
09013d7CompareSigned-off-by: Julius Härtl <jus@bitgrid.net>
09013d7 to
85ef18dComparejuliusknorr
commented
Jul 10, 2023
blizzz
commented
Jul 10, 2023
juliusknorr
commented
Jul 10, 2023
/backport to stable27 |
juliusknorr
commented
Jul 10, 2023
/backport to stable26 |
The backport to stable27 failed. Please do this backport manually. # Switch to the target branch and update it
git checkout stable27
git pull origin stable27
# Create the new backport branch
git checkout -b fix/foo-stable27
# Cherry pick the change from the commit sha1 of the change against the default branch# This might cause conflicts. Resolve them.
git cherry-pick abc123
# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable27More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport |
The backport to stable26 failed. Please do this backport manually. # Switch to the target branch and update it
git checkout stable26
git pull origin stable26
# Create the new backport branch
git checkout -b fix/foo-stable26
# Cherry pick the change from the commit sha1 of the change against the default branch# This might cause conflicts. Resolve them.
git cherry-pick abc123
# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable26More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport |
Fixes#4218
Delete inactive sessions without steps in one query as the oracle limit is only about 1000 expressions. Using one query also has the benefit to avoid deadlock scenarios as the query would lock the rows directly.
🏁 Checklist
npm run lint/npm run stylelint/composer run cs:check)