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

index.soft_deletes.enabled property causes IllegalArgumentException on Elasticsearch 6 below 6.7

    Details

      Description

      Master/7.3 Not affected.


      Alternative solution: Use Elasticsearch 6.7+.


      Background: Cross-Cluster Replication requires soft deletes to be enabled on the indexes. Support for CCR was added in Elasticsearch 6.7 and 7.0.

      Originally, LPS-118933 was implemented to be able to add support for CCR on DXP+Elasticsearch 6.7+ stack later through the Liferay Enterprise Search Cross-Cluster Replication app, however since then it was decided that CCR won't be supported on ES 6, therefore those changes should be reverted from 7.2.x.


      Steps to reproduce

      Start DXP 7.2 SP3/FP8 or FP9 with remote Elasticsearch 6 below 6.7, for example 6.5

      Result

      2020-10-09 13:15:22.165 ERROR [Portal Dependency Manager Component Executor--2][SLATaskResultWorkflowMetricsIndexer:93] bundle com.liferay.portal.workflow.metrics.service:1.0.32 (384)[com.liferay.portal.workflow.metrics.internal.search.index.SLATaskResultWorkflowMetricsIndexer(1209)] : The activate method has thrown an exception
       com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalArgumentException: unknown setting [index.soft_deletes.enabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
       at com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery.doPerformActions(DefaultActionableDynamicQuery.java:340)
       at com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery.performActions(DefaultActionableDynamicQuery.java:86)
       at com.liferay.portal.workflow.metrics.internal.search.index.BaseWorkflowMetricsIndexer.activate(BaseWorkflowMetricsIndexer.java:180)
       at sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-qa Support QA
              Reporter:
              tibor.lipusz Tibor Lipusz
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Tibor Lipusz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                15 weeks ago
                Development End Date:
                Development Start Date:

                  Packages

                  Version Package
                  7.1.10 DXP FP23
                  7.1.10.6 SP6
                  7.1.X
                  7.2.10 DXP FP10
                  7.2.10.4 DXP SP4