[ https://issues.apache.org/jira/browse/NIFI-11896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750797#comment-17750797 ]
ASF subversion and git services commented on NIFI-11896: -------------------------------------------------------- Commit 04cd6c216ee89b6efcdd6b50a671079b2e93b8ee in nifi's branch refs/heads/main from David Handermann [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=04cd6c216e ] NIFI-11896 Corrected QuestDB Status Repository Shutdown handling - Updated QuestDB Status Repository shutdown method to cancel scheduled tasks before immediate shutdown of Scheduled Executor Service - Updated QuestDB Scheduled Tasks to include initial delay to avoid unnecessary execution when starting - Updated QuestDB test class to minimize logging for QuestDB 7 - Improved logging and exception messages Signed-off-by: Pierre Villard <pierre.villard...@gmail.com> This closes #7564. > QuestDB Status Repository fails to close resources on shutdown > -------------------------------------------------------------- > > Key: NIFI-11896 > URL: https://issues.apache.org/jira/browse/NIFI-11896 > Project: Apache NiFi > Issue Type: Bug > Environment: Fedora 38 > Reporter: Joe Witt > Assignee: David Handermann > Priority: Major > Fix For: 1.latest, 2.latest > > Time Spent: 20m > Remaining Estimate: 0h > > io.questdb.cairo.CairoException: [-1] 'connectionStatus' is left behind on > pool shutdown > ... > at > org.apache.nifi.controller.status.history.questdb.QuestDbContext.close(QuestDbContext.java:48) > at ... EmbeddedQuestDbStatusHistoryRepository.shutdown( line 168) > at ... AbstractEmbeddedQuestDbStatusHistoryRepositoryTest.tearDown(line 52) -- This message was sent by Atlassian Jira (v8.20.10#820010)