Project

General

Profile

Actions

Bug #4173

open

Bug #4166: [ce] Rhodecode crashing after MySQL error

[ce, ee] mysql recycle pool timeout not working

Added by Daniel D over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
12.08.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Replication:

  • new config using mysql database
  • set mysql's wait_timeout to 6
  • threads = 1 in ini
  • sqlalchemy.db1.pool_recycle = 3 in ini
  • git push a repo (no changes need, just a push)
  • wait 7 seconds
  • git push again
  • get - OperationalError: (OperationalError) (2006, 'MySQL server has gone away)

This will also break subsequent requests with StatementError: Can't reconnect until invalid transaction is rolled back

Actions

Also available in: Atom PDF