#3905 closed defect (fixed)

When both Foolscap and HTTP API are used on same StorageServer, there are some bad interactions

Reported by: itamarst Owned by:
Priority: normal Milestone: HTTP Storage Protocol
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

Getting the following traceback, suggesting bad interaction in cleanup code (HTTP API is probably assuming only it can create buckets, or something):

  /home/itamarst/devel/tahoe-lafs/venv3/lib/python3.8/site-packages/twisted/internet/defer.py(662)_runCallbacks()
-> current.result = callback(current.result, *args, **kw)
  /home/itamarst/devel/tahoe-lafs/venv3/lib/python3.8/site-packages/foolscap/broker.py(584)<lambda>()
-> d.addCallback(lambda res: self._doCall(delivery))
  /home/itamarst/devel/tahoe-lafs/venv3/lib/python3.8/site-packages/foolscap/broker.py(619)_doCall()
-> return obj.doRemoteCall(delivery.methodname, args, kwargs)
  /home/itamarst/devel/tahoe-lafs/venv3/lib/python3.8/site-packages/foolscap/referenceable.py(61)doRemoteCall()
-> res = meth(*args, **kwargs)
  /home/itamarst/devel/tahoe-lafs/src/allmydata/storage/immutable.py(513)remote_abort()
-> return self._bucket_writer.abort()
  /home/itamarst/devel/tahoe-lafs/src/allmydata/storage/immutable.py(491)abort()
-> self.ss.bucket_writer_closed(self, 0)
  /home/itamarst/devel/tahoe-lafs/src/allmydata/storage/server.py(411)bucket_writer_closed()
-> handler(bw)
> /home/itamarst/devel/tahoe-lafs/src/allmydata/storage/http_server.py(191)remove_write_bucket()
-> storage_index, share_number = self._bucketwriters.pop(bucket)

Change History (3)

comment:1 Changed at 2022-07-15T16:56:55Z by itamarst

  • Resolution set to fixed
  • Status changed from new to closed
Last edited at 2022-07-15T16:58:23Z by itamarst (previous) (diff)

comment:2 Changed at 2022-07-15T16:57:39Z by itamarst

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 Changed at 2022-10-04T14:32:30Z by itamarst

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.