Skip to content

Commit 307c5b6

Browse files
authored
feat: Improve startup times by setting flow.election.max.candidates (#953)
* feat: Improve startup times by setting flow.election.max.candidates * nix * Use released op-rs * More nix stuff? * test: Another timeout increase
1 parent 99f9069 commit 307c5b6

25 files changed

Lines changed: 99 additions & 131 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ All notable changes to this project will be documented in this file.
2323
- test: Bump vector-aggregator to 0.55.0, replace /graphql call with gRPC call ([#940]).
2424
- BREAKING: Removed product-config machinery. This is a breaking change in terms of configuration.
2525
Users relying on the product-config `properties.yaml` file have to set these properties via the CRD ([#945]).
26+
- In case the user specifies a fixed number of NiFi nodes (i.e. no auto-scaling), set `nifi.cluster.flow.election.max.candidates` to that number.
27+
This results in much faster NiFi startups, as it doesn't need to wait for the 5 minutes of `nifi.cluster.flow.election.max.wait.time` ([#953]).
2628

2729
### Fixed
2830

@@ -38,6 +40,7 @@ All notable changes to this project will be documented in this file.
3840
[#936]: https://github.com/stackabletech/nifi-operator/pull/936
3941
[#940]: https://github.com/stackabletech/nifi-operator/pull/940
4042
[#945]: https://github.com/stackabletech/nifi-operator/pull/945
43+
[#953]: https://github.com/stackabletech/nifi-operator/pull/953
4144
[#959]: https://github.com/stackabletech/nifi-operator/pull/959
4245

4346
## [26.3.0] - 2026-03-16

Cargo.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ edition = "2021"
1010
repository = "https://github.com/stackabletech/nifi-operator"
1111

1212
[workspace.dependencies]
13-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.113.3", features = ["webhook"] }
13+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.113.4", features = ["webhook"] }
1414

1515
anyhow = "1.0"
1616
built = { version = "0.8", features = ["chrono", "git2"] }
@@ -33,6 +33,6 @@ tokio = { version = "1.52", features = ["full"] }
3333
tracing = "0.1"
3434
url = { version = "2.5.7" }
3535

36-
# [patch."https://github.com/stackabletech/operator-rs.git"]
36+
[patch."https://github.com/stackabletech/operator-rs.git"]
3737
# stackable-operator = { git = "https://github.com/stackabletech//operator-rs.git", branch = "main" }
3838
# stackable-operator = { path = "../operator-rs/crates/stackable-operator" }

crate-hashes.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/modules/nifi/assets/attachments/entraid-nifi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ spec:
204204
nifi.security.user.oidc.additional.scopes: "profile"
205205
nifi.security.user.oidc.claim.identifying.user: "upn"
206206
nifi.process.group.root.placeholder: "root"
207-
nifi.cluster.flow.election.max.wait.time: "10 secs"
208207
podOverrides:
209208
spec:
210209
initContainers:

0 commit comments

Comments
 (0)