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

BED-5532 - PostgreSQL Batch Update #1199

Merged
merged 2 commits into from
Mar 5, 2025
Merged

BED-5532 - PostgreSQL Batch Update #1199

merged 2 commits into from
Mar 5, 2025

Conversation

zinic
Copy link
Contributor

@zinic zinic commented Mar 5, 2025

Description

DRY cleanup and refactors alongside a change to batch graph DB operation behavior for the PG driver.

Motivation and Context

Historically the batch operation in dawgs would rotate transactions. This has the effect of materializing results in each batch to observers throughout the duration of the batch. In this way, ingest and post-processing were never meant to be at-once transactions.

This change updates the PG driver to not spin up a transaction for batch operations.

How Has This Been Tested?

Existing tests pass.

Types of changes

  • Chore (a change that does not modify the application functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist:

Copy link
Contributor

@superlinkx superlinkx left a comment

Choose a reason for hiding this comment

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

LGTM!

@superlinkx superlinkx added enhancement New feature or request api A pull request containing changes affecting the API code. labels Mar 5, 2025
@zinic zinic merged commit 93ea25d into stage/v7.1.0 Mar 5, 2025
6 checks passed
@zinic zinic deleted the cysql branch March 5, 2025 22:39
@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api A pull request containing changes affecting the API code. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants