Skip to content

GPKG: writer: fix corruption when only a subset of all bands of a tile is flushed#5793

Merged
rouault merged 2 commits intoOSGeo:masterfrom
rouault:gpkg_raster_creation_issue
May 30, 2022
Merged

GPKG: writer: fix corruption when only a subset of all bands of a tile is flushed#5793
rouault merged 2 commits intoOSGeo:masterfrom
rouault:gpkg_raster_creation_issue

Conversation

@rouault
Copy link
Copy Markdown
Member

@rouault rouault commented May 26, 2022

If a block/tile flush happens when only a subset of all bands is
'dirty', and in particular if the alpha band is not yet written, then
the tile was wrongly considered as transparent.

The issue could happen even when writing all bands together, but under
strong pressure on the block cache, due to other threads doing
concurrent reads and forcing partial flushing.

rouault added 2 commits May 26, 2022 18:36
…e is flushed

If a block/tile flush happens when only a subset of all bands is
'dirty', and in particular if the alpha band is not yet written, then
the tile was wrongly considered as transparent.

The issue could happen even when writing all bands together, but under
strong pressure on the block cache, due to other threads doing
concurrent reads and forcing partial flushing.
@rouault rouault merged commit d5957ab into OSGeo:master May 30, 2022
github-actions bot pushed a commit that referenced this pull request May 30, 2022
GPKG: writer: fix corruption when only a subset of all bands of a tile is flushed
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.

1 participant