Skip to content

[backport 3.6] box: fix yielding DDL ordering on WAL failure#12309

Merged
sergepetrenko merged 1 commit intorelease/3.6from
backport/release/3.6/12007
Feb 12, 2026
Merged

[backport 3.6] box: fix yielding DDL ordering on WAL failure#12309
sergepetrenko merged 1 commit intorelease/3.6from
backport/release/3.6/12007

Conversation

@TarantoolBot
Copy link
Collaborator

@TarantoolBot TarantoolBot commented Feb 12, 2026

(This PR is a backport of #12007 to release/3.6 to a future 3.6.2 release.)


Serialize yielding DDL operations on the same space to avoid reordering of data dictionary updates when the first DDL updated _space/_index in-memory and then failed to write to WAL.

To do so, add internal before_replace triggers for _space and _index that wait for completion of previous yielding alters on the same space before applying the next change.

Closes #11833

NO_DOC=bugfix

Serialize yielding DDL operations on the same space to avoid reordering
of data dictionary updates when the first DDL updated _space/_index
in-memory and then failed to write to WAL.

To do so, add internal before_replace triggers for _space and _index that
wait for completion of previous yielding alters on the same space before
applying the next change.

Closes #11833

NO_DOC=bugfix

(cherry picked from commit 6e5a97c)
@TarantoolBot TarantoolBot requested a review from a team as a code owner February 12, 2026 12:54
@TarantoolBot TarantoolBot changed the title [Backport release/3.6] box: fix yielding DDL ordering on WAL failure [backport 3.6] box: fix yielding DDL ordering on WAL failure Feb 12, 2026
@coveralls
Copy link

Coverage Status

coverage: 87.594% (+0.004%) from 87.59%
when pulling 0ff9b7d on backport/release/3.6/12007
into 0f0ef4e
on release/3.6
.

@sergepetrenko sergepetrenko merged commit 5307cf2 into release/3.6 Feb 12, 2026
40 checks passed
@sergepetrenko sergepetrenko deleted the backport/release/3.6/12007 branch February 12, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants