Skip to content

FINERACT-2602: Remove stuck loans from loan lock table after COB execution#5853

Open
AshharAhmadKhan wants to merge 1 commit into
apache:developfrom
AshharAhmadKhan:FINERACT-2602-unlock-processed-loans-after-cob
Open

FINERACT-2602: Remove stuck loans from loan lock table after COB execution#5853
AshharAhmadKhan wants to merge 1 commit into
apache:developfrom
AshharAhmadKhan:FINERACT-2602-unlock-processed-loans-after-cob

Conversation

@AshharAhmadKhan
Copy link
Copy Markdown
Contributor

Fixes an issue where loan accounts remain stuck in m_loan_account_locks after COB completes successfully.

Adds UnlockProcessedLoansTasklet as the final step in the COB job. It removes orphaned locks where the loan was fully processed (error is null and lock_placed_on_cob_business_date matches the current COB date).

Also adds a Cucumber unit test for the new tasklet.

Resolves: https://issues.apache.org/jira/browse/FINERACT-2602

@AshharAhmadKhan
Copy link
Copy Markdown
Contributor Author

Hey @adamsaghy Please trigger checks when you get a chance, thanks.

@AshharAhmadKhan AshharAhmadKhan force-pushed the FINERACT-2602-unlock-processed-loans-after-cob branch from 83348f2 to 2ad4eb9 Compare May 17, 2026 10:41
@AshharAhmadKhan
Copy link
Copy Markdown
Contributor Author

@adamsaghy Hey, Can you please retrigger failing checks. Both were flaky.

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