Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-8910

FixBpmPackages Patch is not optimized for instances with more than a million packages

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 4.1.6
    • Component/s: Upgrades
    • Labels:
      None
    • Environment:
      RHEL
      App Server: Tomcat
      Database: Oracle

      Description

      FixBpmPackages Patch is not optimized for big instances with millions of Bpm packages.
      We have seen similar behaviors on:

      https://issues.alfresco.com/jira/browse/CLOUD-161
      and
      https://issues.alfresco.com/jira/browse/MNT-5637

      Steps to reproduce
      create an environment on Alfresco 3.3.5 with 1M documents and 1M workflows (one per doc)
      Upgrade the environment to Alfresco 4.1.4

      Expected behavior patch should complete on a feasible time.
      Observed behavior the upgrade process takes many hours to complete.

      Notes:
      A customer is reporting that this patch takes several DAYS to complete on their instance, they have 3M Bpm packages.

      Their solution: pumping up the max number in cache for the needed objects and following the approach you used in other Patches implementations, using BatchProcessor in order to take advantage of our multiprocessor

      I don't know if this can be considered a bug of Enhancement.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  asolerasenci Antonio Soler-Asenci [X] (Inactive)
                • Votes:
                  4 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day, 30 minutes
                    1d 30m

                      Structure Helper Panel