composer: a store fetcher left out is held with its words, so its handed composition stays
Declared.Held carries the modules composeWithoutStoreFetchers leaves out (A-452: each stays on the build it runs). The store-address comment and code say A-461e: no address read without error holds only the fetchers, a fault reading the inputs still refuses the node. Builds: design 47 G-22 A-452, A-461, A-461e
This commit is contained in:
@@ -92,12 +92,13 @@ func (c *composer) places(nodeName string, resolved Resolved) (Placed, error) {
|
||||
r.MeshRange = c.overlayRange()
|
||||
|
||||
// The artifact store as this node reaches it now, with what the mesh has built.
|
||||
// Where no address is known (the holder opens no listen to the mesh, or two), only the modules that fetch from the store
|
||||
// wait, with the words of an unanswered requirement; the node composes the rest (design 47 G A-461, A-452).
|
||||
// No address for any reason read without error (no holder, a holder laid by its name alone, a holder not on the private
|
||||
// network, a holder opening no listen to the mesh, or two) holds only the modules that fetch from the store: they wait,
|
||||
// with the words of an unanswered requirement, and the node composes the rest (design 47 G A-461, A-461e, A-452). A fault
|
||||
// reading the inputs still refuses the node (A-461b).
|
||||
store, err := c.artifactStoreAddress(nodeName)
|
||||
var noAddress *storeListenError
|
||||
if errors.As(err, &noAddress) {
|
||||
// Only the store holder's listen refusal holds its fetchers; any other error still refuses the node (A-461b).
|
||||
store, err = "", nil
|
||||
}
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user