This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
from 1a57774cab4 NIFI-16357: Use 12 sections per container for
FileSystemRepository in unit tests instead of 1024; this reduced run time from
2+ minutes to 24 seconds. Additionally, made a few minor tweaks to improve
timing-based reliability of tests. (#11691)
add d352f840c51 NIFI-15862 Added Virtual Thread Processor Scheduling
Strategy (#11164)
No new revisions were added by this update.
Summary of changes:
.../java/org/apache/nifi/util/NiFiProperties.java | 9 +
.../src/main/asciidoc/administration-guide.adoc | 1 +
.../apache/nifi/diagnostics/ThreadDumpTask.java | 169 ++--
.../nifi/diagnostics/ThreadDumpTaskTest.java | 105 +++
.../nifi/controller/StandardProcessorNode.java | 17 +-
.../java/org/apache/nifi/util/ThreadUtils.java | 13 +
.../nifi/controller/StandardProcessorNodeTest.java | 104 +++
.../controller/scheduling/LifecycleStateTest.java | 19 +
.../nifi/controller/scheduling/LifecycleState.java | 8 +-
.../org/apache/nifi/controller/FlowController.java | 128 +++-
.../controller/scheduling/DynamicSemaphore.java | 100 +++
.../scheduling/StandardProcessScheduler.java | 3 +-
.../scheduling/VirtualThreadSchedulingAgent.java | 631 +++++++++++++++
.../nifi/controller/tasks/ConnectableTask.java | 65 +-
.../controller/tasks/ReportingTaskWrapper.java | 20 +-
.../tasks/NiFiPropertiesDiagnosticTask.java | 1 +
.../scheduling/DynamicSemaphoreTest.java | 184 +++++
.../scheduling/TestStandardProcessScheduler.java | 85 ++-
.../VirtualThreadSchedulingAgentTest.java | 849 +++++++++++++++++++++
.../controller/tasks/ReportingTaskWrapperTest.java | 67 ++
.../nifi/controller/tasks/TestConnectableTask.java | 38 +-
.../nifi-framework/nifi-resources/pom.xml | 1 +
.../src/main/resources/conf/nifi.properties | 1 +
.../scheduling/VirtualThreadStartStopCycleIT.java | 92 +++
.../resources/conf/clustered/node1/nifi.properties | 1 +
.../resources/conf/clustered/node2/nifi.properties | 1 +
.../test/resources/conf/default/nifi.properties | 1 +
.../test/resources/conf/pythonic/nifi.properties | 1 +
28 files changed, 2559 insertions(+), 155 deletions(-)
create mode 100644
nifi-framework-api/src/test/java/org/apache/nifi/diagnostics/ThreadDumpTaskTest.java
create mode 100644
nifi-framework-bundle/nifi-framework/nifi-framework-components/src/test/java/org/apache/nifi/controller/StandardProcessorNodeTest.java
create mode 100644
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/scheduling/DynamicSemaphore.java
create mode 100644
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/scheduling/VirtualThreadSchedulingAgent.java
create mode 100644
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/scheduling/DynamicSemaphoreTest.java
create mode 100644
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/scheduling/VirtualThreadSchedulingAgentTest.java
create mode 100644
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/tasks/ReportingTaskWrapperTest.java
create mode 100644
nifi-system-tests/nifi-system-test-suite/src/test/java/org/apache/nifi/tests/system/scheduling/VirtualThreadStartStopCycleIT.java