8000 [backport 3.3] box: flush WAL queue on sync by TarantoolBot · Pull Request #11330 · tarantool/tarantool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[backport 3.3] box: flush WAL queue on sync #11330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

TarantoolBot
Copy link
Collaborator
@TarantoolBot TarantoolBot commented Apr 3, 2025

(This PR is a backport of #11315 to release/3.3 to a future 3.3.2 release.)


wal_sync() is expected to flush all prepared txns on disk. Currently it is not so because we do not flush txns waiting in WAL queue. AFAIU the issue exists for all the places where we use wal_sync() (except for box_wait_limbo_acked() where we already flush WAL queue). The test is only added for the vinyl index build as there are explicit tickets for that.

Closes #11118
Closes #11119

`wal_sync()` is expected to flush all prepared txns on disk. Currently
it is not so because we do not flush txns waiting in WAL queue. AFAIU
the issue exists for all the places where we use `wal_sync()` (except
for `box_wait_limbo_acked()` where we already flush WAL queue). The test
is only added for the vinyl index build as there are explicit tickets for
that.

Closes #11118
Closes #11119

NO_DOC=bugfix

(cherry picked from commit af5f033)
@TarantoolBot TarantoolBot requested a review from a team as a code owner April 3, 2025 08:42
@TarantoolBot TarantoolBot changed the title [Backport release/3.3] box: flush WAL queue on sync [backport 3.3] box: flush WAL queue on sync Apr 3, 2025
@coveralls
Copy link

Coverage Status

coverage: 87.463% (-0.001%) from 87.464%
when pulling bb3a25e on backport/release/3.3/11315
into 3e7774e
on release/3.3
.

@sergepetrenko sergepetrenko merged commit 0a777e5 into release/3.3 Apr 3, 2025
24 of 25 checks passed
@sergepetrenko sergepetrenko deleted the backport/release/3.3/11315 branch April 3, 2025 10:04
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
0