Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5618

Session is not properly closed in ComponentDataPersister

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: Scanner
    • Labels:
      None

      Description

      Today I started to encounter a database lock during persisters phase. After investigation it was caused by the fact that ComponentDataPersister open a new DB session but never release it.
      What I don't understand is why it just started to occurs today (ComponentDataPersister issue is here for months).
      Guess: another component may have started to leak DB sessions and that lead to reach max available connections.

        Attachments

          Activity

            People

            • Assignee:
              henryju OLD - Julien HENRY
              Reporter:
              henryju OLD - Julien HENRY
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: