[mythtv-commits] Ticket #5584: Frontend will hang is schemalock is still locked
MythTV
mythtv at cvs.mythtv.org
Fri Aug 1 03:24:27 UTC 2008
#5584: Frontend will hang is schemalock is still locked
--------------------+-------------------------------------------------------
Reporter: nigel | Owner: ijr
Type: patch | Status: closed
Priority: minor | Milestone: 0.22
Component: mythtv | Version: head
Severity: medium | Resolution: invalid
Mlocked: 0 |
--------------------+-------------------------------------------------------
Changes (by nigel):
* status: new => closed
* resolution: => invalid
Comment:
Chris rightly pointed out:
MySQL should automatically release this table lock when the
backend's MySQL connections terminate. If there's another case
of a failure occurring while the program stays running and the
hence the MySQL connection stays open so the lock is not
released, then it sounds like some code path isn't calling
unlockSchema() where it should.
which is absolutely correct. I was testing the locking with a mysql
session that wasn't closed. As soon as it closed, the lock did too, which
means this ticket is about to do the same :-)
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5584#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list