[tahoe-lafs-trac-stream] [tahoe-lafs] #1921: leasedb: NonExistentShareError: can't find [share] in `shares` table

tahoe-lafs trac at tahoe-lafs.org
Fri Nov 22 13:15:55 UTC 2013


#1921: leasedb: NonExistentShareError: can't find [share] in `shares` table
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  daira
  davidsarah             |     Status:  assigned
         Type:  defect   |  Milestone:  1.12.0
     Priority:  major    |    Version:  1.9.2
    Component:  code-    |   Keywords:  leasedb accounting-crawler blocks-
  storage                |  cloud-merge
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by daira):

 Nitpick: "synchronous with" != "atomic with". Two things can be
 synchronous, but an error causes one of them to happen and the other not.
 The decref would only be synchronous with, not atomic with the decide-to-
 rm operation if #1833 were implemented. (This is why Noether's failure
 handling model is better :-)

 I don't know whether #1833 would fix this particular race condition, but
 my intuition is that the race isn't between the decref and the decide-to-
 rm.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1921#comment:13>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list