Uploaded image for project: 'COmanage Framework Migration'
  1. COmanage Framework Migration
  2. CFM-245 Jobs
  3. CFM-253

Improve Handling of Job Command Plugin Database Connections

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • Minor
    • PE Milestone 8 (Eight Is Not Enough)
    • None

    Description

      Job Command forks child processes in parallel, which causes problems if a child process exits (even a normal exit) while sharing the same database connection as the parent. To work around this, JobCommand creates a plugin database connection for use by the child process.

      It should be possible for JobCommand to do something like
      ConnectionManager::alias('plugin', 'default');
      so that the connection on each table doesn't need to be reset, but this doesn't actually seem to work.

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: