Commit 6b9b4e8
authored
fix(compose): Calculate peer port considering learner nodes differences (#9507)
This PR changes how the compose tool calculates the port for zero1. It
now combines the zeroBasePort (5080) with the opts.PortOffset (default
100) to get the correct peer port (5180). Previously, this calculation
was incorrect, causing learner nodes to try and connect to zero1 on the
wrong port.1 parent 89bd082 commit 6b9b4e8
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| |||
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| 262 | + | |
261 | 263 | | |
| 264 | + | |
262 | 265 | | |
263 | 266 | | |
264 | 267 | | |
| |||
0 commit comments