Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Firehose

mythtv branch master updated by danielk. v0.26-pre-270-gda86aeb

 

 

MythTV firehose RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

May 11, 2012, 7:21 AM

Post #1 of 1 (73 views)
Permalink
mythtv branch master updated by danielk. v0.26-pre-270-gda86aeb

The branch, master has been updated on the
mythtv repository by gitolite user danielk.
via da86aeb60a4b97763993c4279b018a3f06a4121d (commit)
from 653a236f5598a64f3d8c643fd8ad1912bca0dd3d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit da86aeb60a4b97763993c4279b018a3f06a4121d
Author: Daniel Thor Kristjansson <danielk [at] cuymedia> at Fri, 11 May 2012 10:21:37 -0400
Committer: Daniel Thor Kristjansson <danielk [at] cuymedia> at Fri, 11 May 2012 10:21:46 -0400
URL: http://code.mythtv.org/cgit/mythtv/commit/?id=da86aeb60a4b97763993c4279b018a3f06a4121d

Speed up schema upgrades.
The old schema upgrade didn't lock before checking the schema version, so two processes
try to upgrade the same schema. To try to avoid this happening in practice we would sleep
for a few seconds whenever the schema didn't match what we expected. This was safe since
the actual schema upgrade used a lock, but it was unnecessarily slow.

Now we just lock before we check the schema version. If the schema is locked we wait,
if not we proceed.



-----------------------------------------------------------------------

Summary of changes:
mythplugins/mythmusic/mythmusic/dbcheck.cpp | 76 +++++++++++++++----
mythtv/libs/libmyth/schemawizard.cpp | 72 +++---------------
mythtv/libs/libmyth/schemawizard.h | 33 +--------
mythtv/libs/libmythbase/dbutil.cpp | 37 ++-------
mythtv/libs/libmythbase/dbutil.h | 5 +-
mythtv/libs/libmythtv/dbcheck.cpp | 108 ++++++++++++++++-----------
6 files changed, 151 insertions(+), 180 deletions(-)

--

_______________________________________________
mythtv-firehose mailing list
mythtv-firehose [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-firehose

MythTV firehose RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.