Skip to content

NIFI-15958 Log periodic progress while waiting for content archive scan and provenance re-index - #11269

Closed
lfrancke wants to merge 2 commits into
apache:mainfrom
lfrancke:fix/NIFI-15958
Closed

lfrancke wants to merge 2 commits into
apache:mainfrom
lfrancke:fix/NIFI-15958

Conversation

@lfrancke

@lfrancke lfrancke commented May 20, 2026

Copy link
Copy Markdown
Member

Summary

Previously these calls blocked indefinitely on a Future.get() call. Now they wake up once a minute to report progress.

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000
  • Pull request contains commits signed with a registered key indicating Verified status

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • Build completed using ./mvnw clean install -P contrib-check
    • JDK 21
    • JDK 25

Licensing

  • New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • Documentation formatting appears as expected in rendered files

@lfrancke
lfrancke marked this pull request as ready for review May 20, 2026 15:27
…an and provenance re-index

Previously these calls blocked indefinitely on a Future.get() call. Now they wake up once a minute to report progress.

Related: NIFI-4737

@exceptionfactory exceptionfactory left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for proposing the incremental logging @lfrancke.

After reviewing this approach, I am concerned about changing the behavior of the future.get() with the new loop.

The goal of providing visibility on incremental progress during re-indexing and archive processing makes sense, so I prepared an alternative approach in PR #11671.

@lfrancke

Copy link
Copy Markdown
Member Author

Thanks @exceptionfactory - I'll close this PR. Your approach is better than mine!

@lfrancke lfrancke closed this Sep 14, 2026
@lfrancke
lfrancke deleted the fix/NIFI-15958 branch September 14, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants