Skip to content

chore(nifi): Update the backport of NIFI-15958 with the upstream version - #1727

Merged
razvan merged 3 commits into
mainfrom
chore/backport-NIFI-15958
Oct 29, 2026
Merged

razvan merged 3 commits into
mainfrom
chore/backport-NIFI-15958

Conversation

@razvan

@razvan razvan commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Description

Fixes #1726

✔️ Tested locally with the upgrade integration test and the patched 2.12.0 image:

# use the upgrade test with a locally patched image
$  ./scripts/run-tests --skip-delete --test upgrade --namespace nifi
...
--- PASS: kuttl (382.09s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/upgrade_nifi_old-2.6.0_nifi_new-2.12.0,oci.stackable.tech_sdp_nifi_2.12.0-stackable0.0.0-dev-amd64_zookeeper-latest-3.9.6_openshift-false (382.08s)
PASS

... while the flow was running:

# kill the nifi pod to trigger re-indexing
$ kubectl -n nifi delete pod test-nifi-node-default-0 --grace-period=0 --force
# grep for the relevant logs from the patch
$ kubectl -n nifi logs -f test-nifi-node-default-0 -c nifi | grep -E 'Re-indexed|re-index'
2026-10-29 11:10:57,057 INFO [main] o.a.n.p.index.lucene.LuceneEventIndex Will avoid re-indexing Provenance Events because the newest index is defunct, so it will be re-indexed in the background
2026-10-29 11:10:57,133 INFO [Re-Index Provenance Events-1] o.a.n.p.store.WriteAheadStorePartition Re-indexed 1 of 2 Files for Partition [default] including 36 Events

Definition of Done Checklist

Note

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant.

Please make sure all these things are done and tick the boxes

  • Changes are OpenShift compatible
  • All added packages (via microdnf or otherwise) have a comment on why they are added
  • Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
  • All packages should have (if available) signatures/hashes verified
  • Add an entry to the CHANGELOG.md file
  • Integration tests ran successfully
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

boil build <IMAGE> --image-version <RELEASE_VERSION> --strip-architecture --load
kind load docker-image <MANIFEST_URI> --name=<name-of-your-test-cluster>

See the output of boil to retrieve the image manifest URI for <MANIFEST_URI>.

@razvan razvan self-assigned this Oct 29, 2026
@razvan
razvan marked this pull request as ready for review October 29, 2026 11:23
@razvan razvan moved this to Development: Waiting for Review in Stackable Engineering Oct 29, 2026
sbernauer
sbernauer previously approved these changes Oct 29, 2026
@sbernauer sbernauer moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Oct 29, 2026
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.tech>
@razvan
razvan requested a review from sbernauer October 29, 2026 13:42

@sbernauer sbernauer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@razvan
razvan added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit 2709e0f Oct 29, 2026
3 checks passed
@razvan
razvan deleted the chore/backport-NIFI-15958 branch October 29, 2026 14:42
@razvan razvan moved this from Development: In Review to Development: Done in Stackable Engineering Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

Update NIFI-15958 patch

2 participants