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

ezplatform:solr_create_index loop caused by the bulk_count

    Details

      Description

      If you run solr_create_index and specify a bulk_count of 0

      php -d memory_limit=-1 app/console ezplatform:solr_create_index --env prod 0
      

      or if you specify a string

      php -d memory_limit=-1 app/console ezplatform:solr_create_index --env prod demo
      

      If still creates the search index, but the command will not exit, it will be stuck in a loop.
      The cause is that bulk_count accepts a value <= 0. It should only consider integer values higher than zero.

        Activity

        Ricardo Correia (Inactive) created issue -
        Ricardo Correia (Inactive) made changes -
        Field Original Value New Value
        Link This issue relates to CS-5683 [ CS-5683 ]
        Ricardo Correia (Inactive) made changes -
        Status Open [ 1 ] Confirmed [ 10037 ]
        Ricardo Correia (Inactive) made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        Joao Inacio (Inactive) made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Joao Inacio [ joao.inacio@ez.no ]
        Show
        Joao Inacio (Inactive) added a comment - PR: https://github.com/ezsystems/ezplatform-solr-search-engine/pull/66
        Joao Inacio (Inactive) made changes -
        Status Development [ 3 ] Development Review [ 10006 ]
        Show
        André Rømcke added a comment - Merged (1.0 and master): https://github.com/ezsystems/ezplatform-solr-search-engine/commit/103359e8b638920d5c3a17b562f840b63415b769
        André Rømcke made changes -
        Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
        Assignee Joao Inacio [ joao.inacio@ez.no ]
        Rui Silva (Inactive) made changes -
        Status Documentation Review done [ 10011 ] QA [ 10008 ]
        Hide
        Rui Silva (Inactive) added a comment -

        Tested and approved by QA for 1.0 and master.

        Show
        Rui Silva (Inactive) added a comment - Tested and approved by QA for 1.0 and master.
        Rui Silva (Inactive) made changes -
        Assignee Rui Silva [ rui.silva@ez.no ]
        Status QA [ 10008 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 100424 ] EZEE Development Workflow [ 125998 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        2m 42s 1 ricardo.correia@ez.no 14/Sep/16 10:55 AM
        Confirmed Confirmed InputQ InputQ
        2s 1 ricardo.correia@ez.no 14/Sep/16 10:55 AM
        InputQ InputQ Development Development
        16s 1 joao.inacio@ez.no 14/Sep/16 10:55 AM
        Development Development Development Review Development Review
        17m 12s 1 joao.inacio@ez.no 14/Sep/16 11:12 AM
        Development Review Development Review Documentation Review done Documentation Review done
        1d 3h 47m 1 André Rømcke 15/Sep/16 2:59 PM
        Documentation Review done Documentation Review done QA QA
        2h 48m 1 rui.silva@ez.no 15/Sep/16 5:48 PM
        QA QA Closed Closed
        15h 27m 1 rui.silva@ez.no 16/Sep/16 9:16 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            Ricardo Correia (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: