Uh oh!
There was an error while loading. Please reload this page.
Re-fix transaction isolation level - #22563
Conversation
@nickvergessen i've reverted those changes, and still having both problems of #22482 and nextcloud/spreed#4093
For #22482, uploaded 30 files > select them all > delete == Deadlocks on 4 out of 30 deletes. Full log hereFor nextcloud/spreed#4093 same behavior as described in the ticket (browser errors, Room not found messages, etc.) |
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 32590: failuremariadb10.4-php7.3Show full logmysql5.6-php7.2Show full log |
AndyXheli
commented
Sep 3, 2020
Should i try this fix ? or is this not working ? |
nickvergessen
commented
Sep 3, 2020
Please try and report if it works on your setup |
AndyXheli
commented
Sep 3, 2020
working on it now. let you know |
simonspa
commented
Sep 3, 2020
Interestingly for me it works (as discussed in the Talk room). I haven't applied the full patch but just add the one line back: |
solracsf
commented
Sep 3, 2020
Another "not work" feedback here :#22482 (comment) |
@nickvergessen I also revert back the changes |
simonspa
commented
Sep 3, 2020
I did some more tests and it seems to work for some cases. I only get one of the three different stack traces I had seen before, and after a second sync everything is fine - which was not the case before. But it definitely does not solve the issue completely unfortunately. |
@nickvergessen Looks like this issue happens when you select multiple files and delete them but if you delete files one by one there's no issue from what i can see. |
cy2201
commented
Sep 3, 2020
That's true. |
This comment has been minimized.
This comment has been minimized.
AndyXheli
commented
Sep 8, 2020
@nickvergessen any updates on this? |
Can you please put the following code as <?phpuseDoctrine\DBAL\TransactionIsolationLevel;
require_once__DIR__ . '/lib/versioncheck.php';
require_once__DIR__ . '/lib/base.php';
$db = \OC::$server->getDatabaseConnection();
$c = \OC::$server->getConfig();
var_dump($db->inTransaction());
try {
if ($db->getDatabasePlatform() instanceof \Doctrine\DBAL\Platforms\MySQL80Platform) {
var_dump($db->executeQuery('SELECT @@GLOBAL.transaction_isolation, @@transaction_isolation')->fetchAll());
var_dump($db->setTransactionIsolation(TransactionIsolationLevel::REPEATABLE_READ));
var_dump($db->executeQuery('SELECT @@GLOBAL.transaction_isolation, @@transaction_isolation')->fetchAll());
var_dump($db->setTransactionIsolation(TransactionIsolationLevel::READ_COMMITTED));
var_dump($db->executeQuery('SELECT @@GLOBAL.transaction_isolation, @@transaction_isolation')->fetchAll());
} else {
var_dump($db->executeQuery('SELECT @@GLOBAL.tx_isolation, @@tx_isolation')->fetchAll());
var_dump($db->setTransactionIsolation(TransactionIsolationLevel::REPEATABLE_READ));
var_dump($db->executeQuery('SELECT @@GLOBAL.tx_isolation, @@tx_isolation')->fetchAll());
var_dump($db->setTransactionIsolation(TransactionIsolationLevel::READ_COMMITTED));
var_dump($db->executeQuery('SELECT @@GLOBAL.tx_isolation, @@tx_isolation')->fetchAll());
}
var_dump($db->executeQuery("SHOW GRANTS FOR '" . $c->getSystemValueString('dbuser') . "'@'" . $c->getSystemValueString('dbhost') . "'")->fetchAll());
var_dump($db->executeQuery("SHOW CREATE USER '" . $c->getSystemValueString('dbuser') . "'@'" . $c->getSystemValueString('dbhost') . "'")->fetchAll());
} catch (\Throwable$e) {
var_dump($e);
} |
Here you go: Details |
@nickvergessen Here you go: |
Is anyone willing to give me access to a failing server? No one of our engineering team can reproduce this locally or on their server, so it's really hard to debug. Use the SSH key from my github profile: https://github.com/nickvergessen.keys |
AndyXheli
commented
Sep 10, 2020
@nickvergessen me to send you a meeting invite ? And you can remote in ? |
Just sent you an email. When you're ready to join im on the meeting. |
nickvergessen
commented
Sep 10, 2020
Thanks for the help @axheli see email :) |
@nickvergessen: Kannst per Remote Desktop in mein Server schauen. |
rullzer
commented
Sep 17, 2020
Since this isn't solving it it seems I'm moving this to 21. |
AndyXheli
commented
Sep 17, 2020
So what do we do with all these sync errors and not able to delete files. At this point the system is not stable. |
MariaDB config, concated |
AndyXheli
commented
Sep 21, 2020
Hi everyone any updates on this? |
nickvergessen
commented
Oct 5, 2020
Should be fixed via #23109 now |
AndyXheli
commented
Oct 19, 2020
@nickvergessen should this ticket be reopened since its not fixed? or are we referencing #23109 going forwarded |
nickvergessen
commented
Oct 19, 2020
This is a Pull request, not an issue and as per your comment it doesn't fix it, so it doesn't need to be reopened. |


Reverting #18227
It seems that this is somehow causing issues in various setups
Fix#22482
Fixnextcloud/spreed#4093