Problem/Motivation

There is an Acquia Knowledge Base article about flood control mechanism here. This explains what happens when the query limits have been reached. (e.g. The 'Flood protection has blocked request of type select.' is logged, and/or a message on the screen appears. This is thrown by the Flood helper, or the SearchSubscriber). The helper/subscriber however does not link to this article confusing site owners about the error - not knowing the config value behind this error can be changed and is there to protect from bot/DOS attacks or high value traffics targeting those queries.

Steps to reproduce

Use high traffic on search pages where acquia_search is used, and reach the limit of flood control set.

Proposed resolution

Update the error message in Flood and in SearchSubscriber to involve the link to the article.

Remaining tasks

-

User interface changes

When the limit is reached, the message displayed on the screen changes, and includes a link to the KB article. Also, the error message logged has the link to the KB article.

API changes

-

Data model changes

-

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

balintpekker created an issue. See original summary.

balintpekker’s picture

Assigned: Unassigned » balintpekker

balintpekker’s picture

balintpekker’s picture

Status: Active » Needs review
balintpekker’s picture

Assigned: balintpekker » Unassigned
mglaman’s picture

Status: Needs review » Needs work

+1, I like it. Just some nits to simplify the message construction

balintpekker’s picture

Status: Needs work » Needs review

  • mglaman authored 7481b88 on 3.1.x
    Issue #3313839 by balintpekker: Add link to Knowledge Base article when...
mglaman’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.