Details
-
New Feature
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Duplicate
-
None
-
None
-
None
-
Nolana (R3 2022)
-
Out of scope
-
Thunderjet
-
-
0
-
R2
-
R2
Description
Current situation or problem: When 2 users or separate mods run operations in parallel, they can send both summaries before sending the operations. mod-finance-storage is not saving previous summaries with the same id (which in practice is the order id for encumbrances), so one of the summaries sent will have no effect, resulting in an error for the second one:
"All expected transactions already processed"
In scope
Redesign transaction summaries to allow parallel usage. Using unique ids (as opposed to for instance order ids) could be part of the solution, but we don't want to accumulate too many records in the summary tables, so they would have to be deleted when no longer in use.
When redesigning, care should be taken to avoid requiring a check for 404 errors, as was done in mod-orders' TransactionSummariesService.java for MODORDERS-545 (normal operations should not report errors in the logs).
Out of scope
Use case(s)
Proposed solution/stories
Wiki : https://wiki.folio.org/display/DD/Support+for+transaction+processing+by+two+or+more+users+in+parallel
Links to additional info
Questions
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3666 Improve support for parallel processing
-
- In Refinement
-
- is cloned by
-
UXPROD-3636 Define new transaction model to protect against parallel processing
-
- Closed
-
- is defined by
-
MODFIN-214 Option to provide a summary id parameter in the transaction API
-
- Closed
-
-
MODFISTO-259 Releasing 2 transactions at the same time can fail to update budgets
-
- Blocked
-
-
MODFISTO-260 Transaction summaries are not designed to be used in parallel
-
- Closed
-
-
MODFISTO-266 Create a new model "TempTransaction"
-
- Closed
-
-
MODFISTO-267 Update table "order_transaction_summaries"
-
- Closed
-
-
MODFISTO-268 Option to provide a summary id parameter in the transaction API
-
- Closed
-
-
MODFISTO-314 POC: fix the transaction API
-
- Closed
-
-
MODINVOICE-307 Update transaction summary API calls
-
- Closed
-
-
MODORDERS-581 Update transaction summary API calls
-
- Closed
-