Commit 4a32093
committed
Simplify setting cluster offline and back online from BDs
A cluster should be marked offline if _any_ of its bundle deployments is
offline, and back online when all of them are back online. This prevents
flapping status updates in case not all bundle deployments have been
updated by the cluster monitor.1 parent 63a964a commit 4a32093
1 file changed
Lines changed: 10 additions & 16 deletions
Lines changed: 10 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | 251 | | |
| 252 | + | |
| 253 | + | |
256 | 254 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
269 | 263 | | |
270 | 264 | | |
271 | 265 | | |
| |||
0 commit comments