Yes, fair point, although this functionality is really easy to layer on
top so, arguably, not leveldb's job. But what is annoying is that, when
the DB is locked, no unique error code is returned for the condition.
Instead, the fact that the DB is locked gets lumped into the same status
code that is used to indicate dozens of other problems. Sigh… When will
people learn that it is necessary for the calling code to tell different
error conditions apart without having to parse the text in the error
string? :-(

I think I'll just use a lock file of our own around the
initialisation/finalization.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1511553

Title:
  Crash in queueRequest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thumbnailer/+bug/1511553/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to