You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Compatibility]: SAVEPOINT is accepted as a no-op while ROLLBACK TO remains unimplemented #28248
createdatabasesavepoint_latest;
use savepoint_latest;
createtablet(id intprimary key,v varchar(20));
begin;
insert into t values(1,'before');
savepoint s1;
insert into t values(2,'after');
rollback to savepoint s1;
select*from t order by id;
release savepoint s1;
commit;
select*from t order by id;
MatrixOne 行为
SAVEPOINT s1 返回成功。
ROLLBACK TO SAVEPOINT s1 返回:
ERROR 20101: internal error: savepoint has not been implemented yet. please rollback the transaction.
RELEASE SAVEPOINT s1 仍返回成功。
事务继续可用,COMMIT 后两行 (1,'before') 和 (2,'after') 均存在。
MySQL 8.3.0 行为
ROLLBACK TO SAVEPOINT s1 删除保存点之后插入的第二行,同时保留第一行;RELEASE 和 COMMIT 成功,最终只存在 (1,'before')。
Linux x86_64 standalone official binary, 4 CPUs, ~16 GiB container memory limit. SELECT VERSION() = 8.0.30-MatrixOne-v4.2.5. PyMySQL 1.2.3 client. Only fresh owned test schemas were used for SQL probes; the native Airflow diagnostic is a read-only SELECT against the retained test fixture.
Actual Behavior
Native application impact: Django 嵌套事务路径无法直接复用。
ERROR 20101: internal error: savepoint has not been implemented yet. please rollback the transaction.
SAVEPOINT s1 returned success. ROLLBACK TO SAVEPOINT s1 returned the explicit 20101 unimplemented error. In this probe the follow-up SELECT returned (1,17); no claim is made that its transaction behavior exactly matches the different older main fixture in this thread.
Expected Behavior
Implement SAVEPOINT, ROLLBACK TO and RELEASE semantics together; a successful SAVEPOINT response must establish a usable savepoint. Until supported, return a controlled capability error consistently.
Steps to Reproduce
Use a dedicated fresh test schema (create one without DROP DATABASE), then run:
CREATETABLEsave_probe(id INTPRIMARY KEY,value INT);
START TRANSACTION;
INSERT INTO save_probe VALUES(1,17);
SAVEPOINT s1;
UPDATE save_probe SET value=99WHERE id=1;
ROLLBACK TO SAVEPOINT s1;
SELECT*FROM save_probe;
ROLLBACK;
Additional information
Native applications: Wagtail.
This is release v4.2.5 evidence, not a claim that the same failure remains on current main.
Observation family MO-OBS-021. App-side workarounds do not constitute an engine fix.
All disclosed values are owned synthetic fixtures; no passwords, tokens, application cookies or raw private logs are attached.
Activity
dengn commentedon Oct 11, 2026
Application compatibility replay on official v4.2.5
Branch Name
Official stable release
v4.2.5; current main has not been retested for this report.Commit ID
1a44f3db3056e32975fde86ca0ab69a094996a3f(SELECT git_version()returns1a44f3d).Other Environment Information
Linux x86_64 standalone official binary, 4 CPUs, ~16 GiB container memory limit.
SELECT VERSION()=8.0.30-MatrixOne-v4.2.5. PyMySQL 1.2.3 client. Only fresh owned test schemas were used for SQL probes; the native Airflow diagnostic is a read-only SELECT against the retained test fixture.Actual Behavior
Native application impact: Django 嵌套事务路径无法直接复用。
Expected Behavior
Implement SAVEPOINT, ROLLBACK TO and RELEASE semantics together; a successful SAVEPOINT response must establish a usable savepoint. Until supported, return a controlled capability error consistently.
Steps to Reproduce
Use a dedicated fresh test schema (create one without DROP DATABASE), then run:
Additional information
MO-OBS-021. App-side workarounds do not constitute an engine fix.XuPeng-SH commentedon Oct 22, 2026
Consolidated into #23125, which now tracks the missing SAVEPOINT semantics and retains this report's MySQL compatibility and application reproduction.