refactor: storage-broker should be given a client, also no circular ref #2949

Open
opened 2018-09-06 18:03:32 +00:00 by meejah · 0 comments
meejah commented 2018-09-06 18:03:32 +00:00
Owner

See create_no_network_client in test/no_network.py -- it has to create a storage-broker to give to the client, but then also has to give/change a "client" ref to the storage-broker

This is bad for two reasons:

  • there's a circular reference
  • a _NoNetworkClient isn't "really" set up until someone fixes this ref from outside..
See create_no_network_client in test/no_network.py -- it has to create a storage-broker to give to the client, but then also has to give/change a "client" ref to the storage-broker This is bad for two reasons: - there's a circular reference - a _NoNetworkClient isn't "really" set up until someone fixes this ref from outside..
tahoe-lafs added the
code
normal
defect
1.12.1
labels 2018-09-06 18:03:32 +00:00
tahoe-lafs added this to the undecided milestone 2018-09-06 18:03:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#2949
No description provided.