Skip to content
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

Dense consolidation: set correct non-empty domain. #3635

Merged
merged 1 commit into from Nov 8, 2022

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Nov 4, 2022

When performing dense consolidation, we expanded the non empty domain of the read/write operations to full tiles so that the global order writer can write full tiles. This writer has not been built with the same computations that allow to write partial tiles like the ordered writer. This change still uses the tile aligned reads so that the dense reader provide full tiles, with fill values to the global order writer but it enables the consolidator to set a non tile aligned subarray on the writer, which is only used to set the non empty domain. That way, if users write fragments that are not tile aligned and consolidate, they will not get more data after consolidation with fill values.


TYPE: IMPROVEMENT
DESC: Dense consolidation: set correct non-empty domain.

When performing dense consolidation, we expanded the non empty domain of the read/write operations to full tiles so that the global order writer can write full tiles. This writer has not been built with the same computations that allow to write partial tiles like the ordered writer. This change still uses the tile aligned reads so that the dense reader provide full tiles, with fill values to the global order writer but it enables the consolidator to set a non tile aligned subarray on the writer, which is only used to set the non empty domain. That way, if users write fragments that are not tile aligned and consolidate, they will not get more data after consolidation with fill values.

---
TYPE: IMPROVEMENT
DESC: Dense consolidation: set correct non-empty domain.
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #23049: Data corruption after consolidation of dense array.

@ihnorton ihnorton merged commit a8eef92 into dev Nov 8, 2022
@ihnorton ihnorton deleted the lr/dense-consolidation-ned-fix/ch23049 branch November 8, 2022 23:03
github-actions bot pushed a commit that referenced this pull request Nov 8, 2022
When performing dense consolidation, we expanded the non empty domain of the read/write operations to full tiles so that the global order writer can write full tiles. This writer has not been built with the same computations that allow to write partial tiles like the ordered writer. This change still uses the tile aligned reads so that the dense reader provide full tiles, with fill values to the global order writer but it enables the consolidator to set a non tile aligned subarray on the writer, which is only used to set the non empty domain. That way, if users write fragments that are not tile aligned and consolidate, they will not get more data after consolidation with fill values.

---
TYPE: IMPROVEMENT
DESC: Dense consolidation: set correct non-empty domain.
ihnorton pushed a commit that referenced this pull request Nov 12, 2022
…main. (#3641)

* Update HISTORY.md for 2.12.2

* Dense consolidation: set correct non-empty domain. (#3635)

When performing dense consolidation, we expanded the non empty domain of the read/write operations to full tiles so that the global order writer can write full tiles. This writer has not been built with the same computations that allow to write partial tiles like the ordered writer. This change still uses the tile aligned reads so that the dense reader provide full tiles, with fill values to the global order writer but it enables the consolidator to set a non tile aligned subarray on the writer, which is only used to set the non empty domain. That way, if users write fragments that are not tile aligned and consolidate, they will not get more data after consolidation with fill values.

---
TYPE: IMPROVEMENT
DESC: Dense consolidation: set correct non-empty domain.

Co-authored-by: Seth Shelnutt <Shelnutt2@gmail.com>
Co-authored-by: KiterLuc <67824247+KiterLuc@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants