Commit 45f5f1c
authored
Add clickhouse-cluster-config to omdb blueprint output (#6968)
Print clickhouse cluster config related tables for `blueprint show` and
`blueprint diff` omdb commands.
A bunch of the complexity and duplication here arises from the fact
that we are diffing not only between blueprints that have identical
structures, but between blueprints and collections that have
drastically different contents. This is useful, but we probably should
consider separating the two types of diffs and reworking all the
blueprint diff logic to use some sort of semantic diff between types
such as https://github.com/distil/diffus as recommended by @sunshowers.
In order to make the `cluster_secret` UUID generation deterministic for
tests I had use an rng seed in the `BlueprintBuilder`. This required
moving
creation of the initial `ClickhouseClusterConfig` and it's wrapping
`ClickhouseAllocator` from `BlueprintBuilder::new_based_on` to
`BlueprintBuilder::build`.
Fixes #69411 parent e6883f3 commit 45f5f1c
16 files changed
Lines changed: 3399 additions & 228 deletions
File tree
- nexus
- reconfigurator
- execution/src
- planning
- src
- blueprint_builder
- planner
- tests/output
- types/src
- deployment
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
306 | 309 | | |
307 | 310 | | |
308 | 311 | | |
| |||
Lines changed: 42 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
| |||
397 | 396 | | |
398 | 397 | | |
399 | 398 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | 399 | | |
438 | 400 | | |
439 | 401 | | |
| |||
448 | 410 | | |
449 | 411 | | |
450 | 412 | | |
451 | | - | |
452 | 413 | | |
453 | 414 | | |
454 | 415 | | |
| |||
533 | 494 | | |
534 | 495 | | |
535 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
536 | 538 | | |
537 | 539 | | |
538 | | - | |
| 540 | + | |
539 | 541 | | |
540 | 542 | | |
541 | 543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2833 | 2833 | | |
2834 | 2834 | | |
2835 | 2835 | | |
| 2836 | + | |
| 2837 | + | |
| 2838 | + | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
2836 | 2842 | | |
2837 | 2843 | | |
2838 | 2844 | | |
| |||
2942 | 2948 | | |
2943 | 2949 | | |
2944 | 2950 | | |
| 2951 | + | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
| 2957 | + | |
| 2958 | + | |
| 2959 | + | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
| 2963 | + | |
2945 | 2964 | | |
2946 | 2965 | | |
2947 | 2966 | | |
| |||
2984 | 3003 | | |
2985 | 3004 | | |
2986 | 3005 | | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
2987 | 3012 | | |
2988 | 3013 | | |
2989 | 3014 | | |
| |||
3025 | 3050 | | |
3026 | 3051 | | |
3027 | 3052 | | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
3028 | 3059 | | |
3029 | 3060 | | |
3030 | 3061 | | |
| |||
3248 | 3279 | | |
3249 | 3280 | | |
3250 | 3281 | | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
3251 | 3288 | | |
3252 | 3289 | | |
3253 | 3290 | | |
| |||
3306 | 3343 | | |
3307 | 3344 | | |
3308 | 3345 | | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
3309 | 3352 | | |
3310 | 3353 | | |
3311 | 3354 | | |
| |||
3328 | 3371 | | |
3329 | 3372 | | |
3330 | 3373 | | |
3331 | | - | |
| 3374 | + | |
3332 | 3375 | | |
3333 | 3376 | | |
3334 | 3377 | | |
| |||
3435 | 3478 | | |
3436 | 3479 | | |
3437 | 3480 | | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
3438 | 3487 | | |
3439 | 3488 | | |
3440 | 3489 | | |
| |||
3456 | 3505 | | |
3457 | 3506 | | |
3458 | 3507 | | |
3459 | | - | |
| 3508 | + | |
3460 | 3509 | | |
3461 | 3510 | | |
3462 | 3511 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
85 | 93 | | |
0 commit comments