-
Notifications
You must be signed in to change notification settings - Fork 25
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
Conversation
cf2e033
to
b916eb4
Compare
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.
b916eb4
to
806d305
Compare
There was a problem hiding this 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 ReportPatch has no changes to coverable lines.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. 📢 Thoughts on this report? Let us know!. |
CI fails are orthogonal and are tracked by the still-open #1692. Merging this PR and monitoring its post-merge |
…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
…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 <[email protected]>
The backport to
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 |
* 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 <[email protected]>
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: