Skip to content

wal_sync() does not wait for prepared transactions waiting for journal size threshold #11118

@nshy

Description

@nshy

We expect that wal_sync() will flush all prepared transactions on disk, but this is not the case for transactions waiting for journal size threshold. In particular in vinyl we flush prepared transactions before starting index build. We do not have a rollback trigger for these transactions thus we make sure if they will be rolled back we don't need to undo their effect. So if there is a prepared transaction waiting for journal size threshold and it will be rolled back it effect will stay. So secondary index will be inconsistent.

Metadata

Metadata

Assignees

Labels

2.11Target is 2.11 and all newer release/master branches3.2Target is 3.2 and all newer release/master branches3.3Target is 3.3 and all newer release/master branchesbugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions