bzr-git, tdb and sqlite
Jelmer Vernooij
jelmer at samba.org
Sat Apr 3 12:04:12 BST 2010
Hi Russel,
On Sat, Apr 03, 2010 at 09:05:05AM +0100, Russel Winder wrote:
> I had thought that bzr-svn and bzr-git would use TDB if it were
> installed and fall back to SQLite if TDB were not installed and SQLite
> was (which it always is for any Python installation).
> However for a while now all my bzr-git jobs have been failing with
> messages such as:
> bzr: failed to report crash using apport:
> OSError(17, 'File exists')
> bzr: ERROR: exceptions.ImportError: Unable to open existing bzr-git
> cache because 'tdb' is not installed.
> I have both TDB and SQLite caches for each of the Subversion and Git
> repositories I am tracking using Bazaar because I have a filestore that
> is in effect shared between a machine with NFS mounted filestore and no
> TDB and a machine with local filestore that uses TDB.
> Is this a "known issue" or do I need to submit a bug report to
> Launchpad.
I have recently been working on improving the infrastructure for using
caches in bzr-git. One of the consequences of this is that it will
always try to open the existing cache file that is present and uses a
single cache file, rather than whatever it can manage to open.
You're seeing this error because it's trying to move the cache to a
single location and failing because there's two caches (tdb and
sqlite) it is trying to move to that single location. I wonder what
the best course of action is in that situation, but giving an obscure
error message certainly isn't the right approach.
This is all happening in preparation of a new cache format that is
based on Bazaar pack files, should be faster *and* concurrently accessible
*and* NFS friendly.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100403/85432f38/attachment.pgp
More information about the bazaar
mailing list