Open treblereel opened 2 weeks ago
The cause of this issue is that we continue to send the heartbeat when the CDI container is already shutting down and the PostgreSqlJobServiceManagementRepository
is unable to obtain the PgPool
. The fix involves stopping the heartbeat first (by checking isLeader()).
This issue can be easily reproduced using the examples/jbpm-compact-architecture-example
with the command mvn clean package quarkus:dev -Pdevelopment
. To trigger the rebuild just edit CandidateData.java
or Offer.java
and reload the http://localhost:8080/q/dev-ui/extensions
To verify the fix, build incubator-kie-kogito-apps followed by incubator-kie-tools, replacing 999-20240509-SNAPSHOT
with 999-SNAPSHOT
.
@ricardozanini ^^
PR job #1
was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-2074/1/display/redirect
Test results:
Those are the test failures:
PR job #2
was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-2074/2/display/redirect
Test results:
Those are the test failures:
issue: https://github.com/apache/incubator-kie-issues/issues/1324