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

ShardIterativelyAdvice is not called for verifyProcess(boolean, boolean)

    Details

      Description

      1. Enable sharding in portal-ext.properties. Example:
        shard.selector=com.liferay.portal.dao.shard.ManualShardSelector
        jdbc.one.driverClassName=oracle.jdbc.driver.OracleDriver
        jdbc.one.url=jdbc:oracle:thin:@localhost:1521:orcl
        jdbc.one.username=lpmaster_1
        jdbc.one.password=lpmaster_1
        jdbc.two.driverClassName=oracle.jdbc.driver.OracleDriver
        jdbc.two.url=jdbc:oracle:thin:@localhost:1521:orcl
        jdbc.two.username=lpmaster_2
        jdbc.two.password=lpmaster_2
        shard.available.names=default,one,two
        spring.configs=\
                META-INF/base-spring.xml,\
                \
                META-INF/hibernate-spring.xml,\
                META-INF/infrastructure-spring.xml,\
                META-INF/management-spring.xml,\
                \
                META-INF/util-spring.xml,\
                \
                META-INF/executor-spring.xml,\
                \
                META-INF/audit-spring.xml,\
                META-INF/cluster-spring.xml,\
                META-INF/editor-spring.xml,\
                META-INF/jcr-spring.xml,\
                META-INF/ldap-spring.xml,\
                META-INF/messaging-core-spring.xml,\
                META-INF/messaging-misc-spring.xml,\
                META-INF/mobile-device-spring.xml,\
                META-INF/notifications-spring.xml,\
                META-INF/poller-spring.xml,\
                META-INF/rules-spring.xml,\
                META-INF/scheduler-spring.xml,\
                META-INF/search-spring.xml,\
                META-INF/workflow-spring.xml,\
                \
                META-INF/counter-spring.xml,\
                META-INF/mail-spring.xml,\
                META-INF/portal-spring.xml,\
                META-INF/portlet-container-spring.xml,\
                META-INF/staging-spring.xml,\
                META-INF/virtual-layouts-spring.xml,\
                \
                META-INF/monitoring-spring.xml,\
                \
                #META-INF/dynamic-data-source-spring.xml,\
                META-INF/shard-data-source-spring.xml,\
                \
                classpath*:META-INF/ext-spring.xml
        
      2. Start server
      3. Check in dlfileentrytype table if "BASIC-DOCUMENT" file entry type is created

      Result: file entry type is missing
      Expected: "BASIC-DOCUMENT" file entry type is created on all shards.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lu.liu Lu Liu
              Reporter:
              akos.thurzo Akos Thurzo (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 29 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1