E1: read another part's values tolerantly
The generated decoders keep unknown fields and return the form read, so a want the assigner writes with run, or any field added later, is applied rather than refused: the node-engine that reads run runs before the assigner writes it. Builds: design 47 H2 §780; §813 (1) (the edge)
This commit is contained in:
@@ -898,7 +898,7 @@ func (c *Composer) takeWantLocked(u agent.Update) string {
|
||||
delete(c.notTaken, module)
|
||||
delete(c.keptWants, module)
|
||||
c.dropForgottenLocked(module) // its next want asks again what a failed fetch made it forget (H-A-146)
|
||||
w, err := meshwants.DecodeWantsByWantNodeModuleValue(u.Value)
|
||||
w, _, err := meshwants.DecodeWantsByWantNodeModuleValue(u.Value)
|
||||
if u.Deleted || err != nil || w.Removed || w.Fp == "" {
|
||||
delete(c.wants, module)
|
||||
switch {
|
||||
|
||||
Reference in New Issue
Block a user