Add a test for Connection::addRootTransactionEndCallback

Created on 10 August 2019, over 5 years ago
Updated 11 June 2023, over 1 year ago

Problem/Motivation

In the parent issue #2966607: Invalidating 'node_list' and other broad cache tags early in a transaction severely increases lock wait time and probability of deadlock , a new public method has been added to the DB API, Connection::addRootTransactionEndCallback.

A test of its implementation within the cache system was added, but we are missing a standalone test of its functionality.

Proposed resolution

Add a specific test to Drupal\KernelTests\Core\Database\ConnectionTest or to Drupal\KernelTests\Core\Database\TransactionTest or ?

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Closed: duplicate

Version

11.0 🔥

Component
Database 

Last updated 1 day ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024