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

Fix out of order consolidation. #4597

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Jan 3, 2024

The following issue TileDB-Inc/TileDB-Py#1885 reported that running consolidation in this order invalidates an array:

  • consolidate fragments
  • consolidate commits
  • vacuum fragments
  • vacuum commits

This fixes two issues:

  • We sometimes would not delete the commit files when vacuuming fragments.
  • We would vacuum an ignore file when a consolidated commits file still needed it.

TYPE: BUG
DESC: Fix out of order consolidation.

The following issue TileDB-Inc/TileDB-Py#1885 reported that running consolidation in this order invalidates an array:
- consolidate fragments
- consolidate commits
- vacuum fragments
- vacuum commits

This fixes two issues:
- We sometimes would not delete the commit files when vacuuming fragments.
- We would vacuum an ignore file when a consolidated commits file still needed it.

---
TYPE: BUG
DESC: Fix out of order consolidation.
Copy link

This pull request has been linked to Shortcut Story #38672: Consolidation order can create a corrupted array.

Copy link
Contributor

@davisp davisp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@KiterLuc KiterLuc merged commit 65d1ce4 into dev Jan 5, 2024
62 checks passed
@KiterLuc KiterLuc deleted the lr/out-of-order-consolidation/ch38672 branch January 5, 2024 18:17
github-actions bot pushed a commit that referenced this pull request Apr 19, 2024
The following issue TileDB-Inc/TileDB-Py#1885
reported that running consolidation in this order invalidates an array:
- consolidate fragments
- consolidate commits
- vacuum fragments
- vacuum commits

This fixes two issues:
- We sometimes would not delete the commit files when vacuuming
fragments.
- We would vacuum an ignore file when a consolidated commits file still
needed it.

---
TYPE: BUG
DESC: Fix out of order consolidation.

(cherry picked from commit 65d1ce4)
Shelnutt2 pushed a commit that referenced this pull request Apr 22, 2024
The following issue TileDB-Inc/TileDB-Py#1885
reported that running consolidation in this order invalidates an array:
- consolidate fragments
- consolidate commits
- vacuum fragments
- vacuum commits

This fixes two issues:
- We sometimes would not delete the commit files when vacuuming
fragments.
- We would vacuum an ignore file when a consolidated commits file still
needed it.

---
TYPE: BUG
DESC: Fix out of order consolidation.

(cherry picked from commit 65d1ce4)
Shelnutt2 pushed a commit that referenced this pull request Apr 22, 2024
Backport 65d1ce4 from #4597.

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.

3 participants