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

Sparse unordered w/ dups reader: coord tiles management fix. #3023

Merged

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Mar 30, 2022

When clearing tiles during a var size overflow, we should only clear
attribute tiles as coord tiles are counted in another memory budget and
cleaned up later. There was a small logic bug where is_dim was used to
determine if we were dealing with a dimension or not, but this variable
was for the attribute currently being copied, and not the attribute
considered for cleanup.


TYPE: BUG
DESC: Sparse unordered w/ dups reader: coord tiles management fix.

When clearing tiles during a var size overflow, we should only clear
attribute tiles as coord tiles are counted in another memory budget and
cleaned up later. There was a small logic bug where is_dim was used to
determine if we were dealing with a dimension or not, but this variable
was for the attribute currently being copied, and not the attribute
considered for cleanup.

---
TYPE: IMPROVEMENT
DESC: Sparse unordered w/ dups reader: coord tiles management fix.
@KiterLuc KiterLuc requested a review from gspowley March 30, 2022 09:07
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #16308: VCF segfault reading with TileDB 2.8.0-rc0.

@KiterLuc KiterLuc merged commit 1bfa896 into dev Mar 30, 2022
@KiterLuc KiterLuc deleted the lr/sparse-unordered-w-dups-tile-management-fix/ch16308 branch March 30, 2022 20:08
github-actions bot pushed a commit that referenced this pull request Mar 30, 2022
When clearing tiles during a var size overflow, we should only clear
attribute tiles as coord tiles are counted in another memory budget and
cleaned up later. There was a small logic bug where is_dim was used to
determine if we were dealing with a dimension or not, but this variable
was for the attribute currently being copied, and not the attribute
considered for cleanup.

---
TYPE: IMPROVEMENT
DESC: Sparse unordered w/ dups reader: coord tiles management fix.
ihnorton pushed a commit that referenced this pull request Mar 31, 2022
When clearing tiles during a var size overflow, we should only clear
attribute tiles as coord tiles are counted in another memory budget and
cleaned up later. There was a small logic bug where is_dim was used to
determine if we were dealing with a dimension or not, but this variable
was for the attribute currently being copied, and not the attribute
considered for cleanup.

---
TYPE: IMPROVEMENT
DESC: Sparse unordered w/ dups reader: coord tiles management fix.
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.

2 participants