Uploaded image for project: 'Labs (Retired)'
  1. Labs (Retired)
  2. LABS-472

[database] Concurrency problem in JPA database initialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Current
    • Current
    • Magma
    • None

    Description

      The problem is evident when more than one thread starts using the database during startup. For example, when there are jobs that run concurrently with main startup sequence.

      Two different JPA connections are started, and one of the two reports errors during initialization.

      A concurrent lock should be present to pause other threads waiting for a database connection until the first one is correctly initialized.

      Attachments

        Activity

          People

            s.gianni Simone Gianni
            s.gianni Simone Gianni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: