Commit 07ce597
Apply MemoryNodeStore strip / dedup validation to set_nodes
Cycle 21 added strip / dedup / empty-rejection validation at
MemoryNodeStore.__init__ so a typoed seed couldn't leak whitespace
into find_leader. The runtime updater set_nodes() bypassed the same
validation; a control-plane source feeding NodeInfo with whitespace
addresses re-introduced the exact defect __init__ was hardened
against. Apply the same loop, rebuilding NodeInfo with the canonical
address when whitespace was present.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d919f64 commit 07ce597
1 file changed
Lines changed: 31 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
0 commit comments