Opened at 2019-05-31T14:50:09Z
Closed at 2019-06-12T11:48:46Z
#3048 closed defect (fixed)
Direct dependence of storage client code on the RIStorageServer RemoteReference creates tight coupling and inflexibility
Reported by: | exarkun | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
allmydata.storage_client.NativeStorageClient provides the functionality to *get* a RemoteReference for the server-published RIStorageServer but offers little or not abstractions beyond that.
All storage client application code has get_rref and callRemote calls sprinkled throughout.
This couples all of that storage client application code tightly to both the RemoteReference and RIStorageServer interfaces. In turn, this makes it difficult to make changes to either of these.
If we want Tahoe-LAFS to switch to an HTTP-based protocol then tight coupling to RemoteReference is an undesirable thing.
If we want to enhance the storage server protocol then tight coupling to RIStoragerServer is also an undesirable thing.
Change History (1)
comment:1 Changed at 2019-06-12T11:48:46Z by exarkun
- Resolution set to fixed
- Status changed from new to closed
Fixed in https://github.com/tahoe-lafs/tahoe-lafs/commit/a07426b2e99988a38d42ee52a95144723f2e4cfa