Skip to content

Bump indexer dependency to take in delete-task updates that prune txn…#195

Merged
gmalouf merged 1 commit intoalgorand:masterfrom
gmalouf:prune-txn-participation-on-delete
Jan 12, 2026
Merged

Bump indexer dependency to take in delete-task updates that prune txn…#195
gmalouf merged 1 commit intoalgorand:masterfrom
gmalouf:prune-txn-participation-on-delete

Conversation

@gmalouf
Copy link
Copy Markdown
Contributor

@gmalouf gmalouf commented Jan 12, 2026

Summary

When the PostgreSQL exporter's delete-task is enabled, conduit calls the indexer's DeleteTransactions() function to prune old transaction data based on the configured retention period. Previously, this only deleted from the txn table. With this update (using indexer snapshot v3.9.1-0.20260112183408-2970dcb8ffa7), DeleteTransactions() now also prunes corresponding records from the txn_participation table, preventing indefinite growth of orphaned participation records.

Fixes #194

Test Plan

Existing tests should pass - the new functionality was exercised in indexer in #1685

@gmalouf gmalouf self-assigned this Jan 12, 2026
@gmalouf gmalouf added the Bug-Fix PR proposing to fix a bug label Jan 12, 2026
@gmalouf gmalouf requested a review from jannotti January 12, 2026 18:57
@gmalouf gmalouf merged commit f9e5948 into algorand:master Jan 12, 2026
3 checks passed
@gmalouf gmalouf deleted the prune-txn-participation-on-delete branch January 12, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug-Fix PR proposing to fix a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PostgreSQL Exporter Pruning ignores txn_participation table

2 participants