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

CommitWithin not firing correctly

    XMLWordPrintable

Details

    Description

      After some bug tracking, we found that eZFind did not appear to be appending the commitWithin attribute to Solr <add> requests, even though the INI had been configured with DisableDirectCommits=enabled and CommitWithin set to 30 seconds.

      Testing determined that the is_integer check applied to the INI value failed, since this checks variable type and it ini value is returned as a string.

      Patch submitted as pull request #60:
      https://github.com/ezsystems/ezfind/pull/60

      Steps to reproduce
      • Configure a clean eZ Publish/eZ Find/Solr configuration.
      • Configure eZ Find with DisableDirectCommits/CommitWithin
      • Publish an article
      • Watch the STDOUT from Solr to determine when the object commits. The object will not commit unless something triggers the commit manually, even with CommitWithin set to a positive integer in the ini file.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joekepley joekepley
            Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 5 hours
                5h