Commit 6e3eef5
feat(regionserver): add graceful shutdown configuration (#570)
* feat(regionserver): add graceful shutdown configuration
Extract region configuration into it's own structure. Refactor the lib and controller modules to work with the new structure in a slightly generic way.
* Make UnifiedRoleConfiguration a sub-trait of Send
* Replace trait with enum.
* implement region mover command
* fix: crd field names
* unit tests and shell escaping
* update docs
* spelling
* cargo update
* added shutdown test & hbase-entrypoint.sh
* cleanup and set region mover opts env var
* first successful integration test
* fix image pull policy for the kerberos tests
* add RUN_REGION_MOVER env var
* Update docs/modules/hbase/pages/usage-guide/operations/graceful-shutdown.adoc
Co-authored-by: Nick <[email protected]>
* remove trailing whitespace in docs
* rust : remove unused dep
* fix shellcheck lint
* update shutdown test and run it successfuly
* update docs
* Update rust/crd/src/lib.rs
Co-authored-by: Nick <[email protected]>
* fix const arithmetic
* switch to LazyLock
* configure gracefulShutdownTimeout in (almost) all tests
* region mover args
* Update CHANGELOG.md
Co-authored-by: Sebastian Bernauer <[email protected]>
* Update rust/crd/src/lib.rs
Co-authored-by: Siegfried Weber <[email protected]>
* Update rust/crd/src/lib.rs
Co-authored-by: Siegfried Weber <[email protected]>
* Update rust/crd/src/lib.rs
Co-authored-by: Siegfried Weber <[email protected]>
* Update docs/modules/hbase/pages/usage-guide/operations/graceful-shutdown.adoc
Co-authored-by: Siegfried Weber <[email protected]>
* Update docs/modules/hbase/pages/usage-guide/operations/graceful-shutdown.adoc
Co-authored-by: Siegfried Weber <[email protected]>
* Update docs/modules/hbase/pages/usage-guide/operations/graceful-shutdown.adoc
Co-authored-by: Siegfried Weber <[email protected]>
* Update docs/modules/hbase/pages/usage-guide/operations/graceful-shutdown.adoc
Co-authored-by: Siegfried Weber <[email protected]>
* Update rust/crd/src/lib.rs
Co-authored-by: Siegfried Weber <[email protected]>
* note on constant paths and the entrypoint script
* remove unnecessary configOverrides
* wip: use Fragment for the RegionMover
The crd generation panics
* fix crd generation
* test: fail if the regionmover fails (only with 2.6)
* refactor to reduce (some) duplication
* tests: use dev images
* feat: remove hard-coded cluster.local from the domain name
* fix: RegionMover fields should not be Optional
* add STACKABLE_LOG_DIR env var
* ref introduce const CONTAINERDEBUG_LOG_DIRECTORY
* make shutdown test more resilient
* tmp test def
* update rustfmt
* Update tests/templates/kuttl/shutdown/30-install-hbase.yaml.j2
Co-authored-by: Siegfried Weber <[email protected]>
* revert test definition
* update changelog
---------
Co-authored-by: Nick <[email protected]>
Co-authored-by: Sebastian Bernauer <[email protected]>
Co-authored-by: Siegfried Weber <[email protected]>1 parent 2fcecd1 commit 6e3eef5
File tree
69 files changed
+1503
-360
lines changed- deploy/helm/hbase-operator/crds
- docs/modules/hbase/pages/usage-guide/operations
- rust
- crd
- src
- operator-binary
- src
- config
- operations
- tests
- templates/kuttl
- cluster-operation
- kerberos
- logging
- omid
- opa
- orphaned_resources
- overrides
- profiling
- resources
- shutdown
- smoke
- snapshot-export
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
69 files changed
+1503
-360
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
691 | 694 | | |
692 | 695 | | |
693 | 696 | | |
| |||
775 | 778 | | |
776 | 779 | | |
777 | 780 | | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
778 | 809 | | |
779 | 810 | | |
780 | 811 | | |
| |||
938 | 969 | | |
939 | 970 | | |
940 | 971 | | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
941 | 975 | | |
942 | 976 | | |
943 | 977 | | |
| |||
1025 | 1059 | | |
1026 | 1060 | | |
1027 | 1061 | | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
1028 | 1090 | | |
1029 | 1091 | | |
1030 | 1092 | | |
| |||
Lines changed: 57 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
29 | 84 | | |
30 | 85 | | |
31 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments