Skip to content

UXPROD-5562: spike - storage support for self-draining loan anonymization - #583

Draft
slaemmer wants to merge 3 commits into
masterfrom
UXPROD-5562-spike-anonymization-side-table
Draft

UXPROD-5562: spike - storage support for self-draining loan anonymization#583
slaemmer wants to merge 3 commits into
masterfrom
UXPROD-5562-spike-anonymization-side-table

Conversation

@slaemmer

Copy link
Copy Markdown

Purpose

The current approach to loan anonymization already can lead to wasted throughput and could sometimes lead to starvation. This would certainly be the case when user specific anonymization would be added.

This is a prototypical implementation that resulted from a spike for User specific loan anonymization. It is intended to stay a draft.

Approach

Add the loan_anonymization_due table (loan_id, due_at) with drain and sweep indexes, and the anonymization-due-date-storage interface: stamp and clear maintainers plus due/unevaluated join-finders. The anonymize-storage-loans strip also deletes the loan's due-date row. Includes API tests against Postgres.

Add the loan_anonymization_due table (loan_id, due_at) with drain and sweep
indexes, and the anonymization-due-date-storage interface: stamp and clear
maintainers plus due/unevaluated join-finders. The anonymize-storage-loans
strip also deletes the loan's due-date row. Includes API tests against
Postgres.
@slaemmer
slaemmer force-pushed the UXPROD-5562-spike-anonymization-side-table branch from fedf834 to 33b8b42 Compare July 27, 2026 14:35
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant