From cc470d4779228eac6d60a988a5183c3e70ab6f37 Mon Sep 17 00:00:00 2001 From: Walter Wang <330161900+walteratsf@users.noreply.github.com> Date: Wed, 16 Sep 2026 15:28:00 -0700 Subject: [PATCH] docs: add scheduler migration known issue --- .../modules/ROOT/pages/app-migration.adoc | 4 +++ .../pages/ch-ch2-migration-configuration.adoc | 25 +++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/cloudhub/modules/ROOT/pages/app-migration.adoc b/cloudhub/modules/ROOT/pages/app-migration.adoc index bf0ae46a0..86be4dcd0 100644 --- a/cloudhub/modules/ROOT/pages/app-migration.adoc +++ b/cloudhub/modules/ROOT/pages/app-migration.adoc @@ -82,6 +82,10 @@ To manage a migrated app using the Mule Maven plugin (MMP), copy the public URL When deploying a new CloudHub 2.0 application during migration, don't configure it to use the inherited CloudHub default domain (the shared `+*.cloudhub.io+` endpoint in the format `..cloudhub.io`). This domain is automatically carried over to the CloudHub 2.0 private space, but it's globally shared and can't be managed by you. Route traffic through your vanity domain or `anypointdns.net` endpoint instead. Using the default domain interferes with how traffic switching determines the traffic source (SLB versus DLB) and can cause traffic outages. +==== Scheduler Concurrent Execution + +Before you migrate the application, review Scheduler configurations for the xref:ch-ch2-migration-configuration.adoc#scheduler-concurrent-execution[known Scheduler concurrent-execution issue]. + == Next Steps After Application Upgrade diff --git a/cloudhub/modules/ROOT/pages/ch-ch2-migration-configuration.adoc b/cloudhub/modules/ROOT/pages/ch-ch2-migration-configuration.adoc index 8c37488ff..9207c7e83 100644 --- a/cloudhub/modules/ROOT/pages/ch-ch2-migration-configuration.adoc +++ b/cloudhub/modules/ROOT/pages/ch-ch2-migration-configuration.adoc @@ -335,6 +335,30 @@ This provides more granular control over platform log forwarding. ==== +[#scheduler-concurrent-execution] +.Known Issue: Scheduler Concurrent Execution +[%collapsible,opts=hide-details] +==== + +[cols="1,1",options="header"] +|=== +|CloudHub +|CloudHub 2.0 + +|For affected applications, CloudHub prevents overlapping executions of the same Scheduler even when the Scheduler source's `disallowConcurrentExecution` setting is `false` or omitted. +|CloudHub 2.0 honors the `disallowConcurrentExecution` setting. If the setting is `false` or omitted, another execution can start before the previous execution finishes. +|=== + +This issue applies only when you migrate an application from CloudHub to CloudHub 2.0. Review each Scheduler that has a small interval, such as less than one second, and can run longer than its configured interval, when `disallowConcurrentExecution` is `false` or omitted. CloudHub 2.0 can start overlapping executions that consume the application thread pool shared by all flows. Excessive queued executions can delay or prevent other flows from running. + +To prevent overlapping executions after migration, explicitly set `disallowConcurrentExecution="true"`. If a trigger becomes due while the previous execution is still running, CloudHub 2.0 skips that trigger and tries again at the next configured interval. + +When an affected Scheduler has a very short interval, skipped triggers can generate excessive INFO-level log messages. To suppress INFO-level messages from `org.mule.runtime.core.internal.source.scheduler.DefaultSchedulerMessageSource`, including the repeated `Execution skipped` message, set its log level to *WARNING* in the application's *Monitoring* tab. Applying the log-level change restarts the application. For instructions, see xref:cloudhub-2::ch2-manage-app-logs.adoc#configure-log-levels-and-categories[Configure Log Levels and Categories]. + +For more information about the Scheduler source setting, see xref:mule-runtime::scheduler-concept.adoc#props_scheduler[Scheduler]. + +==== + .Deployment Configuration [%collapsible,opts=hide-details] ==== @@ -488,6 +512,7 @@ CloudHub 2.0 supports Mule runtime versions 4.3.x and later. Upgrade to a suppor * Update the application's `pom.xml` with CloudHub 2.0 deployment configuration. See xref:mule-runtime::deploy-to-cloudhub-2.adoc[Deploy to CloudHub 2.0]. * Update the application's `log4j2.xml` with log forwarding options if needed. See xref:cloudhub-2::ch2-integrate-log-system.adoc[Integrate with Your Logging System Using Log4j]. +* Review Scheduler configurations for the xref:ch-ch2-migration-configuration.adoc#scheduler-concurrent-execution[known Scheduler concurrent-execution issue]. * Remove persistent queues and implement AnypointMQ. * Remove CloudHub Connector and replace with custom logic.