Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1156

disposable LazyMultipleRepositoryImpl can incorrectly dispose a pooling repository when its sessions are active

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.04.07, 2.05.00, 2.10.00
    • 2.05.01, 2.10.01
    • None
    • None

    Description

      if (poolingRepo.getNumIdle() <= 0)

      if there are 0 idle sessions, the pooling repository gets removed. However, this should not be the case when there are active sessions of course. Hence it must become:

      if (poolingRepo.getNumIdle() <= 0 && poolingRepo.getNumActive() == 0)

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: