FINERACT-1659: Fix optimistic locking in savings interest posting batch job#5671
Conversation
56a3708 to
5fc3ca4
Compare
|
I have force-pushed the fixes for the Lombok duplicate getters/setters and the Checkstyle trailing space. Could a maintainer please approve the workflows so the CI can run against the new commit? Thank you! |
|
@awaneetdecoder Please review the failing checks! |
|
Please run: Before any PR or changes, please always run these two commands and make sure there is green build! |
5fc3ca4 to
b93060f
Compare
|
@adamsaghy I have addressed all the failing checks:
Thank you for your patience. |
b93060f to
b5627c5
Compare
|
@adamsaghy — investigated the test-core-2 failure. testRunningPostInterestJobTwiceDoesNotCreateDuplicateInterest Fix: changed businessDate to April 13 so yesterday = April 12, The E2E Shard 6 failure is pre-existing — it covers only Currency All other 473 integration tests pass. Updated the commit with the fix. |
225b6be to
3ff3f86
Compare
|
@adamsaghy — the previous filter on transactionType.value was incorrectly eliminating all transactions. Simplified to match the pattern used in testDuplicateOverdraftInterestPostingJob — filtering by date [2022, 4, 12] and reversed=false, which is sufficient since no other transaction lands on that date. test-core-2 is now passing on all 3 databases.
41 checks passing. Ready for review. |
|
SBOM is not a "real" error, it does not fail the build, however spotless is! |
9b356e1 to
dfbb9c0
Compare
|
@adamsaghy — all 43 checks are now passing on commit dfbb9c0. Spotless formatting has been resolved. The PR is ready for review. Thank you. |
|
Hi @adamsaghy, PR #5646 merged successfully. This PR (#5671) also has all 43 checks passing and no conflicts. Could you please take a look when you get a chance? Thank you. |
dfbb9c0 to
d469aaa
Compare
Problem
The savings interest posting batch job could post duplicate interest
when two instances ran concurrently. PR #5550 attempted a fix but
adamsaghy correctly identified there was no rollback mechanism —
version mismatch was silently skipped.
Fix
Files Changed
Fixes FINERACT-1659
Supersedes PR #5550