Imminent release of TMSU 0.5.0

15 views
Skip to first unread message

Paul Ruane

unread,
Jan 29, 2015, 12:15:29 PM1/29/15
to tm...@googlegroups.com
Hi,

I should be pushing out TMSU 0.5.0 in the coming days. If there are any outstanding bugs, issues or minor enhancements could you please let me know so that I can fix them for this release.

Thanks,
Paul

D Gowers

unread,
Jan 29, 2015, 8:46:00 PM1/29/15
to tm...@googlegroups.com
Minor issues?

IMO the VFS mount shouldn't hold a write lock on the database except for the minimum amount of time necessary.
I've just tested this:

mkdir /tmp/v
tmsu mount /tmp/v
sqlite3 .tmsu/db

sqlite> select * from tag where name like "%fo%";
2498|"foo

(I checked in another terminal, with 'tmsu files --count '"foo', that this tag had no taggings, at this point)

sqlite> delete from tag where name like '%"%';
Error: database is locked


Obviously, for this particular task, I could have just used 'tmsu delete'. But this doesn't hold true for other possible accessors, like tmsoup (eg. alias or annotation extensions). The overall result is that it becomes easier to just avoid VFS mount.

--
You received this message because you are subscribed to the Google Groups "TMSU" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmsu+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paul Ruane

unread,
Jan 30, 2015, 1:37:21 PM1/30/15
to tm...@googlegroups.com

Thanks for this, I was unaware of any existing database lock problems. There were previously some issues with the database being locked due to operations happening before the first transaction was created but have not seen this one before.

I shall take a look at this on the train tomorrow evening.

Sorry for the inconvenience,
Paul


To unsubscribe from this group and stop receiving emails from it, send an email to tmsu+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TMSU" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmsu+unsubscribe@googlegroups.com.

Paul Ruane

unread,
Jan 30, 2015, 3:27:16 PM1/30/15
to tm...@googlegroups.com

Hi,

This issue should now be fixed.

Thanks,
Paul

Reply all
Reply to author
Forward
0 new messages