[mythtv-commits] Ticket #13079: Change to MYSQL_OPT_READ_TIMEOUT causes errors when running mythfilldatabase
MythTV
noreply at mythtv.org
Fri Jul 28 00:51:10 UTC 2017
#13079: Change to MYSQL_OPT_READ_TIMEOUT causes errors when running
mythfilldatabase
--------------------------------------+--------------------------
Reporter: gregorio.gervasio@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+--------------------------
In 119d733df13e88d8ff636730a97d1468bfde1719, there was a change to reduce
MYSQL_OPT_READ_TIMEOUT to 30 seconds. This seems to cause errors when
running mythfilldatabase:
{{{
2017-07-19 10:16:54.763165 I Updating programs.
2017-07-19 10:17:24.865920 E Driver error was [2/2013]:
QMYSQL3: Unable to execute statement
Database error was:
Lost connection to MySQL server during query
DB Error (Inserting into program table):
Query was:
INSERT IGNORE INTO program ( chanid, starttime, endtime,
title, subtitle, description, showtype,
category,
[...]
}}}
There are more errors after reconnection since the temporary tables are
gone:
{{{
2017-07-19 10:17:24.866790 I MySQL reconnected successfully:
DataDirectCon
2017-07-19 10:17:24.867534 E Driver error was [2/1146]:
QMYSQL3: Unable to prepare statement
Database error was:
Table 'mythconverg.dd_v_program' doesn't exist
DB Error (Inserting into programrating table):
Query was:
INSERT IGNORE INTO program ( chanid, starttime, endtime,
title, subtitle, description, showtype,
category,
[...]
}}}
If I change the timeout to 300, the errors go away. (From logs, it
appears this step typically takes around 80 seconds for this particular
videosource.)
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13079>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list