Steps to Reproduce:
When I edit a page and take a long time to update it and save it I get this error. Please note that this does not always happen, only sometimes.
Running Mediawiki 1.31.1 (52af0e7) 2019-03-07T07:42:07
Actual Results:
Receive these entries in the logs after the front-end receives a 500 error.
Uncaught Wikimedia\\Rdbms\\DBUnexpectedError:
Wikimedia\\Rdbms\\Database::close: mass commit/rollback of peer transaction required (DBO_TRX set). in /var/www/wiki.domain.com/includes/libs/rdbms/database/Database.php:916
Stack trace:
#0 /var/www/wiki.domain.com/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1217): Wikimedia\\Rdbms\\Database->close()
#1 [internal function]: Wikimedia\\Rdbms\\LoadBalancer->Wikimedia\\Rdbms\\{closure}(Object(Wikimedia\\Rdbms\\DatabaseMysqli))
#2 /var/www/wiki.domain.com/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1640): call_user_func_array(Object(Closure), Array)
#3 /var/www/wiki.domain.com/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1218): Wikimedia\\Rdbms\\LoadBalancer->forEachOpenConnection(Object(Closure))
#4 /var/www/wiki.domain.com/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1208): Wikimedia\\Rdbms\\LoadBalancer->closeAll()
#5 /var/www/wiki.domain.com/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1860): Wikimedia\\Rdbms\\LoadBalancer->disable()
#6 [internal fu in /var/www/wiki.domain.com/includes/libs/rdbms/database/Database.php on line 916,
referer: https://wiki.domain.com/
Expected Results:
The expected results are that the page needs to save and not give the error.