jenny1371 commented on PR #6591:
URL: https://github.com/apache/fineract/pull/6591#issuecomment-6210504639
I also ran the new test against a real instance (Docker, PostgreSQL), both
with and without this change:
- Without the id-ordered locking, `AccountTransferConcurrentTest` fails: a
crossing transfer is answered with HTTP 409 ("concurrent modification on
lock"), and `pg_stat_database` reports 3 deadlocks.
- With the change, the same test passes: 3 rounds of 10 transfers A to B and
10 transfers B to A at the same time all succeed, and both balances end where
they started.
— Chia Chien (Jenny) Liu
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]