Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-81802

BundleManagerImpl.installLPKG causes race conditions when installing lpks via marketplace

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.1.0 Beta 2, Master
    • Fix Version/s: 7.1.X, Master
    • Component/s: App Management
    • Labels:
      None

      Description

      BundleManagerImpl.installLPKG moves lpkgs to osgi/marketplace and then deploys the lpkg using the LPKGDeployer.
      As osgi/marketplace is already watched by file install, moving the lpkg will trigger deployment.
      This leads to the lpkg deployer trying to install the same lpkg in two threads, causing race conditions.

        Attachments

          Activity

            People

            • Assignee:
              jeffrey.yang Jeffrey Yang
              Reporter:
              jeffrey.yang Jeffrey Yang
              Participants of an Issue:
              Recent user:
              Michael Saechang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 7 weeks, 5 days ago

                Packages

                Version Package
                7.1.X
                Master