home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0003685: SQLite Client can cause locked database on write
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MediaPortal-Bot" data-source="post: 869305" data-attributes="member: 48617"><p>Multiple database access can cause the sqlite database to become unavailable when something is written to it. I stumbled upon this problem during the development of aMPdroid/GmaWebservice. For some reason the MP-TvSeries database would sometimes "crash" and after that neither MP-TvSeries nor GmaWebservice could access the sqlite database. A journal file was created (MP-TvSeriesDatabase4.db3.journal) and only after this got deleted the database would become accessible.<br /> <br /> The problem is, that sqlite allows no other locks (not even shared==readonly) when data is written. So when another process has a lock on the database, the client is supposed to wait until the data can be written (which the MediaPortal SQLiteClient doesn't).</p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=3685" target="_blank">Continue reading...</a></p></blockquote><p></p>
[QUOTE="MediaPortal-Bot, post: 869305, member: 48617"] Multiple database access can cause the sqlite database to become unavailable when something is written to it. I stumbled upon this problem during the development of aMPdroid/GmaWebservice. For some reason the MP-TvSeries database would sometimes "crash" and after that neither MP-TvSeries nor GmaWebservice could access the sqlite database. A journal file was created (MP-TvSeriesDatabase4.db3.journal) and only after this got deleted the database would become accessible.<br /> <br /> The problem is, that sqlite allows no other locks (not even shared==readonly) when data is written. So when another process has a lock on the database, the client is supposed to wait until the data can be written (which the MediaPortal SQLiteClient doesn't). [url="http://mantis.team-mediaportal.com/view.php?id=3685"]Continue reading...[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0003685: SQLite Client can cause locked database on write
Contact us
RSS
Top
Bottom