Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19812

Make picture migration at startup optional

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10-HF10, 8.2
    • Fix Version/s: 7.10-HF11, 8.3
    • Component/s: DAM

      Description

      The Picture migration from nuxeo-platform-imaging-core is doing a request to check for migration of images,

      SELECT ecm:uuid FROM Document WHERE ecm:mixinType = 'Picture' AND ecm:isProxy = 0 AND views/*/title = 'Original' AND content/data IS NULL
      

      This request can be very slow depending on the repository content or impl.

      This should be an optional step so it is not be executed at each startup

      The picture migration that is run on startup can be slow on big volume, this can be disable by adding a contribution like this:

      <?xml version="1.0"?>
      <component name="disable-picture-migration-config">
        <require>org.nuxeo.ecm.platform.imaging.base.properties</require>
        <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
          <property name="nuxeo.picture.migration.enabled">false</property>
        </extension>
      </component>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 2 hours
                  2h