Repository navigation
Commit dc87bb9
committed
clusterer_controller: a socket drops other groups' multicast from the moment it is bound
IP_MULTICAST_ALL was cleared after bind() and IP_ADD_MEMBERSHIP, so the
second cluster's socket on a shared port could queue the first cluster's
multicast in between; its worker then forwarded the packet to the first
cluster's worker, which had it already and logged it as a replay
(netns group 8 under ASan, a node restarting while its first cluster was
busy). The option is now set before bind().1 parent 910a24e commit dc87bb9
1 file changed
Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
228 | 241 | | |
229 | 242 | | |
230 | 243 | | |
| |||
246 | 259 | | |
247 | 260 | | |
248 | 261 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
0 commit comments