Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-4342

[Scheduler] Startup runnables : wait for Ametys loading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.10.0, 4.9.12
    • 4.9.8
    • None
    • None

      Some runnables are set to be launch at Ametys startup, but for most schedulables, the application is not yet totally loaded and we can have some errors, especially on soft restart.

      For example, the runnable org.ametys.cms.indexing.ReloadSolrAclCachesForCoresRunnable can launch this exception at restart and the Solr cache is corrupted, we have to manually reload it (can be a long task and it should be useless):

      ERROR [org.ametys.cms.content.indexing.solr.SolrIndexer] (AmetysRuntimeScheduler_Worker-1;/ideo2_publication/plugins/admin/restart) The reloading of Read-ACL Solr Cache for workspace 'default' (checkIfNecessary=true) did not succeed as expected.
       Error code is the following: communication-with-Ametys-application

      It is probably the same for deploy starter tasks that are automatically scheduled to NOW, but it is done during the launch.

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: