Skip to content

CascadePublicMedia/metatag-3245876

Repository files navigation

Purpose

Confirms an infinite loop OOM issue caused by the combination of Metatags v1.18+ and Search API when using memcache for caching on the search view.

Related issues

Install

Prerequisites

Setup

  1. git clone https://github.com/CascadePublicMedia/metatag-3245876.git
  2. cd metatag-3245876
  3. composer install
  4. lando start
  5. lando db-import metatag-3245876.sql.gz

Reproduction

  1. Navigate to http://metatag-3245876.lndo.site/.
  2. Search for a term with results: "dolore" (should work).
  3. Run lando drush cr.
  4. Search for the same term again: "dolore" (OOM exception).

After following these steps the search term will causes OOM executions until memcache is flushed manually with:

lando drush ev "Drupal::service('memcache.factory')->get('default')->flush();"

Notes

Admin login and password is drupal9.