Project

General

Profile

Actions

Bug #100035

closed

DataHandler: Unnecessary database updates may result in timeout

Added by Andreas Kienast about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2023-02-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Scenario given:
  • A content element of type "Image" with ~80 referenced images
  • A shared hosting webspace with a 6-core CPU
  • A remote database with unknown specs

Even without any changes, saving the content element always results in a server-side timeout.
Side note: Increasing the timeout is impossible without paying the hosting provider extra money.

I discovered that unnecessary database updates are done for each(!) referenced element as the DataHandler internally switches t3ver_stage to "0" to start a new editing workflow. However, this is done after DH checked whether field updates are necessary at all.

Actions #1

Updated by Gerrit Code Review about 1 year ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77948

Actions #2

Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77948

Actions #3

Updated by Gerrit Code Review about 1 year ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77987

Actions #4

Updated by Andreas Fernandez about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF