Skip to content

ROX-37717: Enrichment: Add enrichment in a transaction - #2114

Closed
ksurabhi91 wants to merge 1 commit into
quay:mainfrom
ksurabhi91:tx_enrich
Closed

ksurabhi91 wants to merge 1 commit into
quay:mainfrom
ksurabhi91:tx_enrich

Conversation

@ksurabhi91

@ksurabhi91 ksurabhi91 commented Nov 30, 2026 •

Copy link
Copy Markdown

Current problem :

  • The update_operation was created outside the transaction
  • Enrichment records were inserted inside the transaction
  • This allowed the materialized view to refresh between these two operation
    Fix:
  • Both the update_operation creation AND enrichment inserts now happen in the same transaction
  • The view only refreshes after the transaction commits, ensuring all data is present

@ksurabhi91
ksurabhi91 marked this pull request as ready for review December 1, 2026 14:57
@ksurabhi91
ksurabhi91 requested review from a team as code owners December 1, 2026 14:57
@ksurabhi91
ksurabhi91 requested a review from crozzy December 1, 2026 14:57
@ksurabhi91
ksurabhi91 marked this pull request as draft December 1, 2026 14:58
Signed-off-by: Surabhi <surakuma@redhat.com>
@ksurabhi91
ksurabhi91 marked this pull request as ready for review December 2, 2026 02:13
@ksurabhi91 ksurabhi91 changed the title Enrichment: Add enrichment in a transaction ROX-37717: Enrichment: Add enrichment in a transaction Dec 2, 2026
@crozzy

crozzy commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Closing as a duplicate #2076

@crozzy crozzy closed this Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants