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

[python] Consolidation and vacuuming are now platform configuration options #1690

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

Shelnutt2
Copy link
Contributor

@Shelnutt2 Shelnutt2 commented Sep 16, 2023

Issue and/or context:

Consolidation and vacuuming need to be controllable by the user, and should default at the low level to off. In higher level APIs we need to follow up with automatic handling.

Changes:

Commit and fragment_metadata consolidation and vacuuming can improve the opening and query performance of SOMA experiments. Vacuuming requires slight coordination though and should not happen by default. Instead a platform config allows the user to control these operations based. This will be expanded to defaults for top-level io packages where its more likely a user is doing a one-shot ingestion and will want automatic handling.

A new platform config, consolidate_and_vacuum has been added which is a boolean to handle this behavior.

Notes for Reviewer:

@Shelnutt2 Shelnutt2 force-pushed the ss/consolidation-vacuum-should-be-optional branch from cf2e033 to b916eb4 Compare September 16, 2023 19:55
Commit and fragment_metadata consolidation and vacuuming can improve the
opening and query performance of SOMA experiments. Vacuuming requires
slight coordination though and should not happen by default. Instead a
platform config allows the user to control these operations based. This
will be expanded to defaults for top-level `io` packages where its more
likely a user is doing a one-shot ingestion and will want automatic
handling.

A new platform config, `consolidate_and_vacuum` has been added which is
a boolean to handle this behavior.
@Shelnutt2 Shelnutt2 force-pushed the ss/consolidation-vacuum-should-be-optional branch from b916eb4 to 806d305 Compare September 16, 2023 19:56
@eddelbuettel eddelbuettel changed the title Consolidation and vacuuming are now platform configuration options [python] Consolidation and vacuuming are now platform configuration options Sep 16, 2023
Copy link
Member

@bkmartinjr bkmartinjr left a comment

Choose a reason for hiding this comment

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

LGTM. May need a unit test, at your discretion.

@codecov-commenter
Copy link

Codecov Report

Patch has no changes to coverable lines.

❗ Current head 75d166c differs from pull request most recent head ceb73c9. Consider uploading reports for the commit ceb73c9 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

📢 Thoughts on this report? Let us know!.

@johnkerl
Copy link
Member

CI fails are orthogonal and are tracked by the still-open #1692. Merging this PR and monitoring its post-merge python-ci-full.

@johnkerl johnkerl merged commit 25f5a27 into main Sep 18, 2023
9 of 12 checks passed
@johnkerl johnkerl deleted the ss/consolidation-vacuum-should-be-optional branch September 18, 2023 14:30
github-actions bot pushed a commit that referenced this pull request Sep 18, 2023
…ptions (#1690)

* Consolidation and vacuuming are now platform configuration options

Commit and fragment_metadata consolidation and vacuuming can improve the
opening and query performance of SOMA experiments. Vacuuming requires
slight coordination though and should not happen by default. Instead a
platform config allows the user to control these operations based. This
will be expanded to defaults for top-level `io` packages where its more
likely a user is doing a one-shot ingestion and will want automatic
handling.

A new platform config, `consolidate_and_vacuum` has been added which is
a boolean to handle this behavior.

* set is_mac for ci-minimal workflow
johnkerl pushed a commit that referenced this pull request Sep 18, 2023
…ptions (#1690) (#1696)

* Consolidation and vacuuming are now platform configuration options

Commit and fragment_metadata consolidation and vacuuming can improve the
opening and query performance of SOMA experiments. Vacuuming requires
slight coordination though and should not happen by default. Instead a
platform config allows the user to control these operations based. This
will be expanded to defaults for top-level `io` packages where its more
likely a user is doing a one-shot ingestion and will want automatic
handling.

A new platform config, `consolidate_and_vacuum` has been added which is
a boolean to handle this behavior.

* set is_mac for ci-minimal workflow

Co-authored-by: Seth Shelnutt <Shelnutt2@gmail.com>
@github-actions
Copy link

The backport to release-1.4 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-1.4 release-1.4
# Navigate to the new working tree
cd .worktrees/backport-release-1.4
# Create a new branch
git switch --create backport-1690-to-release-1.4
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 25f5a27f459501c32605734dca9a44ccf8aa0325
# Push it to GitHub
git push --set-upstream origin backport-1690-to-release-1.4
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-1.4

Then, create a pull request where the base branch is release-1.4 and the compare/head branch is backport-1690-to-release-1.4.

johnkerl added a commit that referenced this pull request Oct 18, 2023
* cherry pick

* R-CI mods from main/release-1.5

* test/soco.tgz

* tiledb-r 0.20.3 pins

* GITHUB_PAT

---------

Co-authored-by: Seth Shelnutt <Shelnutt2@gmail.com>
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.

4 participants