Changes between Initial Version and Version 8 of Ticket #2204


Ignore:
Timestamp:
2017-08-08T16:25:41Z (7 years ago)
Author:
exarkun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2204

    • Property Keywords leases leasedb blocks-cloud-merge added; NonExistenShareError lease removed
    • Property Version changed from 1.10.0 to cloud-branch
    • Property Component changed from unknown to code-storage
    • Property Summary changed from in add_or_renew_leases\\n raise NonExistentShareError(si_s, shnum)\\nallmy to cloud branch: allmydata.storage.leasedb.NonExistentShareError
  • Ticket #2204 – Description

    initial v8  
    4242"
    4343}}}
     44
     45Extracting and reformatting the traceback contained in that error:
     46
     47{{{
     48Traceback (most recent call last):
     49  File "/usr/lib/python2.7/dist-packages/foolscap/eventual.py", line 26, in _turn
     50 cb(*args, **kwargs)
     51  File "/home/customer/LAFS_source/src/allmydata/util/deferredutil.py", line 55, in _with_log
     52    op(res)
     53  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 382, in callback
     54    self._startRunCallbacks(result)
     55  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 490, in _startRunCallbacks
     56    self._runCallbacks()
     57--- <exception caught here> ---
     58  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py\", line 577, in _runCallbacks
     59    current.result = callback(current.result, *args, **kw)
     60  File "/home/customer/LAFS_source/src/allmydata/storage/backends/base.py", line 170, in _update_lease
     61    account.add_or_renew_default_lease(self.storage_index, shnum)
     62  File "/home/customer/LAFS_source/src/allmydata/storage/account.py", line 58, in add_or_renew_default_lease
     63    return self.add_or_renew_lease(storage_index, shnum, renewal_time, expiration_time)
     64  File "/home/customer/LAFS_source/src/allmydata/storage/account.py", line 63, in add_or_renew_lease
     65    renewal_time, expiration_time)
     66  File "/home/customer/LAFS_source/src/allmydata/storage/leasedb.py", line 267, in add_or_renew_leases
     67    raise NonExistentShareError(si_s, shnum)
     68allmydata.storage.leasedb.NonExistentShareError: can't find SI='o2ofk2psfahdhyf5uq3nqdmrwe' shnum=0 in `shares` table
     69}}}