Committing a transaction while there are still active savepoints leaves the stack in inconsistent state

Created on 3 September 2023, over 1 year ago
Updated 10 October 2023, about 1 year ago

Problem/Motivation

If you open multiple transactions (e.g. root, savepoint_1, savepoint_2, savepoint_3) and you scope out the root one (i.e. 'drupal_transaction'), which is a legitimate operation that translates into a 'COMMIT' command on the client, the later savepoint Transaction objects remain hanging and when they get out of scope they try to release their corresponding savepoint but this leads to failures. Also, the transaction stack is left in an inconsistent state.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
Database 

Last updated 2 days 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

Production build 0.71.5 2024