Project

General

Profile

Actions

Bug #89831

closed

System information toolbar slows down or breaks BE login because it queries all configured database connections which may be slow/gone

Added by Stefan P over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-12-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Needs Decision

Description

Steps to reproduce:

  1. Have a TYPO3 setup
  2. configure multiple Database conenctions where at least one is slow or currently gone
  3. log into the Backend
  4. login takes forever because the slow or even fails with error because the unavailable (-> fail with timeout) DB is queried as well

Expected result: Only databases that are actually used are queried.

It's totally valid to have slow or unavailable Databases configured in the Connection Pool. For example when using them for scheduled interface commands to import data from foreign data sources.

TYPO3 should not query all configured Databases if there's no current need. It's OK to list the configured ones, but actual connections should not be opened without demand.

The causing code is the class SystemInformationToolbarItem - the getDatabase() method.

Even when having fast connections: having many of fast connections can still slow down the login.


Files

screenshot1.png (40.9 KB) screenshot1.png Susanne Moog, 2020-03-19 13:50
Actions

Also available in: Atom PDF