[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3783: storage_client.py should use HTTP if it's in the announcement (was: IServer has a bunch of Foolscap-specific assumptions that need fixing)
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Aug 11 18:30:23 UTC 2022
#3783: storage_client.py should use HTTP if it's in the announcement
--------------------------+-----------------------------------
Reporter: itamarst | Owner:
Type: task | Status: new
Priority: normal | Milestone: HTTP Storage Protocol
Component: unknown | Version: n/a
Resolution: | Keywords:
Launchpad Bug: |
--------------------------+-----------------------------------
Description changed by itamarst:
Old description:
> Do we need IServer, or is it really just NativeStorageServer and the
> interface can go away?
>
> More broadly there's some basic impedance mismatch between connection-
> oriented foolscap and request-oriented GBS. E.g. the webui wants to show
> users how many servers they're "connected to". There may be some test
> code that tries to wait until "enough" servers are "connected to".
>
> The share placement algorithm (which servers to put a share on) wants to
> operate on a set of "connected" servers.
>
> So step 1 is... investigate that and write up design. Or something
New description:
Part of #3901. Blocked on #3902. Probably implement in the same branch as
#3912?
IServer has a bunch of Foolscap-specific assumptions that need fixing. Do
we need IServer, or is it really just NativeStorageServer and the
interface can go away?
More broadly there's some basic impedance mismatch between connection-
oriented foolscap and request-oriented GBS. E.g. the webui wants to show
users how many servers they're "connected to". There may be some test code
that tries to wait until "enough" servers are "connected to".
The share placement algorithm (which servers to put a share on) wants to
operate on a set of "connected" servers.
So step 1 is... investigate that and write up design. Or something
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3783#comment:9>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list