[mythtv-commits] Ticket #4094: SBE failed to reconnect after MBE reboot
MythTV
mythtv at cvs.mythtv.org
Tue Oct 30 14:36:45 UTC 2007
#4094: SBE failed to reconnect after MBE reboot
----------------------------------------------------+-----------------------
Reporter: Tony Lill <ajlill at ajlc.waterloo.on.ca> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.20-fixes
Severity: high | Resolution:
Mlocked: 0 |
----------------------------------------------------+-----------------------
Comment(by Tony Lill <ajlill at ajlc.waterloo.on.ca>):
On further reflection, I don't think re-loading the cache is the right way
to do it. Perhaps the proper solution is to change
MythContext::ConnectToMasterServer to NOT use localhost as a default. Is
there any situation where ConnectToMasterServer should succeed if it can't
fetch the proper address from the database?
Another thing. If I'm reading MythContext::GetSetting correctly, it looks
like it puts the default value into the settings cache even if the
database is unavailable. So any call to GetSetting when the database is
unavailable will poison the settings cache. This should probably be
changed so it only does this if the setting really isn't in the settings
table
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4094#comment:3>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list