#2285 new defect

multi backup error — at Initial Version

Reported by: dawuud Owned by: daira
Priority: normal Milestone: undecided
Component: unknown Version: 1.10.0
Keywords: Cc:
Launchpad Bug:

Description

When performing two backups at once (tahoe backup) one of them crashed with a stack traceback ending in this error: OperationalError?: database is locked

I was running tahoe-lafs in Tails from wheezy-backports :

$ tahoe --version allmydata-tahoe: 1.10.0 foolscap: 0.6.4 pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958 zfec: 1.4.5 Twisted: 12.0.0 Nevow: 0.10.0 zope.interface: unknown python: 2.7.3 platform: Linux-debian_7.6-x86_64-32bit_ELF pyOpenSSL: 0.13 simplejson: 2.5.2 pycrypto: 2.6 pyasn1: unknown mock: 0.8.0 setuptools: 0.6 [distribute]

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/runner.py", line 156, in run

rc = runner(sys.argv[1:], install_node_control=install_node_control)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/runner.py", line 141, in runner

rc = cli.dispatch[command](so)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/cli.py", line 574, in backup

rc = tahoe_backup.backup(options)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 325, in backup

return bu.run()

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 118, in run

new_backup_dircap = self.process(options.from_dir)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process

childcap = self.process(childpath)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process

childcap = self.process(childpath)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process

childcap = self.process(childpath)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 194, in process

childcap, metadata = self.upload(childpath)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 313, in upload

bdb_results.did_upload(filecap)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/backupdb.py", line 122, in did_upload

self.mtime, self.ctime, self.size)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/backupdb.py", line 264, in did_upload_file

fileid = self.get_or_allocate_fileid_for_cap(filecap)

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/backupdb.py", line 256, in get_or_allocate_fileid_for_cap

c.execute("SELECT fileid FROM caps WHERE filecap=?", (filecap,))

OperationalError?: database is locked

Change History (0)

Note: See TracTickets for help on using tickets.