Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30635

Reindex Command Infinite Loop when content-count % iteration-count === 0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Documentation Review done
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.7.9, 1.13.5, 2.5.1
    • Fix Version/s: 2.5.2, 1.7.10-rc1, 1.13.6-rc1
    • Component/s: Search
    • Labels:
      None

      Description

      When starting ezplatform:reindex command with content-count % iteration-count === 0 the command will restart (internally) on reaching 100%.

      https://github.com/ezsystems/ezpublish-kernel/blob/6.7/eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php#L366-L380

      Changing yield $contentIds to check if empty fixes the issue.

      if (!empty($contentIds)) {
          yield $contentIds;
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              s-konrad Steve Konrad
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: